Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007272/0.0007272, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001678, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006792/0.0006792, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008524/0.001532, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9275/0.9275, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09412/1.022, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.931/1.931, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5248/2.456, allocations: 123.3 MB / 0.728 GB, free: 5.789 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7294 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.429e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001054/0.001068, allocations: 0.7296 MB / 0.7301 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.001931, allocations: 0.8655 MB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.001958, allocations: 6.75 kB / 0.731 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.001978, allocations: 0 / 0.731 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.002013, allocations: 9.453 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.208e-05/0.002095, allocations: 15.92 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.00217, allocations: 25.34 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.002247, allocations: 4 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.002336, allocations: 18.17 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.002375, allocations: 10.25 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.002389, allocations: 4 kB / 0.731 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.002452, allocations: 4 kB / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.002465, allocations: 1.641 kB / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.00248, allocations: 5.562 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002581, allocations: 31.38 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.002596, allocations: 0 / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.12e-07/0.002596, allocations: 0 / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.002613, allocations: 0 / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003355/0.002949, allocations: 228.6 kB / 0.7313 GB, free: 2.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.002979, allocations: 10.3 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.003109, allocations: 86.05 kB / 0.7314 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.003191, allocations: 113.7 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.0032, allocations: 1.25 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.003207, allocations: 4.375 kB / 0.7315 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.003303, allocations: 47.7 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.003311, allocations: 4.172 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.003317, allocations: 1.062 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003322, allocations: 6.188 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.003346, allocations: 7.875 kB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.003537, allocations: 148.3 kB / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.003579, allocations: 23.34 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.003594, allocations: 9.859 kB / 0.7317 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.00361, allocations: 0 / 0.7317 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.003632, allocations: 34.62 kB / 0.7318 GB, free: 1.922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003632, allocations: 0.5 kB / 0.7318 GB, free: 1.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001037/0.003736, allocations: 38.7 kB / 0.7318 GB, free: 1.879 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.003766, allocations: 55.34 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.00382, allocations: 112.2 kB / 0.732 GB, free: 1.691 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.00383, allocations: 25.7 kB / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.003858, allocations: 80.67 kB / 0.7321 GB, free: 1.578 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.003874, allocations: 11.89 kB / 0.7321 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.0039, allocations: 10.66 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.003981, allocations: 322.8 kB / 0.7324 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.003989, allocations: 1.484 kB / 0.7324 GB, free: 1.227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.003999, allocations: 4.875 kB / 0.7324 GB, free: 1.223 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.00402, allocations: 12.8 kB / 0.7324 GB, free: 1.207 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004022, allocations: 1.438 kB / 0.7324 GB, free: 1.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.366e-05/0.004065, allocations: 33.69 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004076, allocations: 8 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.004079, allocations: 0.6562 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.004087, allocations: 0 / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.00415, allocations: 9.875 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004152, allocations: 0.6562 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.004172, allocations: 11.98 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004176, allocations: 4 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.004225, allocations: 111 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.004241, allocations: 0 / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.004303, allocations: 41.5 kB / 0.7326 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004305, allocations: 4.984 kB / 0.7326 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.004308, allocations: 5.125 kB / 0.7326 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00431, allocations: 0 / 0.7326 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.004404, allocations: 65.89 kB / 0.7327 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004405, allocations: 0.5312 kB / 0.7327 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.004429, allocations: 8.719 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.004436, allocations: 7.953 kB / 0.7327 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004437, allocations: 0.5312 kB / 0.7327 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.004441, allocations: 0 / 0.7327 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.004443, allocations: 5.469 kB / 0.7327 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.004445, allocations: 3.938 kB / 0.7327 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.004511, allocations: 128.5 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.00452, allocations: 4 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.004564, allocations: 4.609 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.004587, allocations: 0.7656 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.004589, allocations: 5.781 kB / 0.7329 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.003e-05/0.004599, allocations: 12.97 kB / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.004599, allocations: 0 / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001583/0.004757, allocations: 4 kB / 0.7329 GB, free: 0.6836 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.669e-05/0.004824, allocations: 85.77 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.467e-05/0.004878, allocations: 9.609 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.004884, allocations: 4.656 kB / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.004899, allocations: 13.48 kB / 0.733 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.005051, allocations: 8.734 kB / 0.733 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.005681, allocations: 114.9 kB / 0.7331 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.278e-05/0.005713, allocations: 51.36 kB / 0.7332 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.00573, allocations: 8.484 kB / 0.7332 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.005765, allocations: 50.34 kB / 0.7332 GB, free: 296 kB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.005766, allocations: 4.766 kB / 0.7332 GB, free: 292 kB / 0.698 GB Notification: Performance of Templates: time 0.001932/0.007698, allocations: 460 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037626622244716]