Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001424/0.001424, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001835/0.001835, allocations: 222.6 kB / 22.25 MB, free: 5.109 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.463/3.463, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 66.73 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4752, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006142/0.4813, allocations: 3.75 MB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.4843, allocations: 1.325 MB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.4847, allocations: 35.75 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.4851, allocations: 122.8 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.4855, allocations: 190.3 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.4865, allocations: 416.6 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.4875, allocations: 0.9593 MB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.488, allocations: 282.6 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.4884, allocations: 346.7 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.4888, allocations: 298.3 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.4889, allocations: 92 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4891, allocations: 96 kB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.4892, allocations: 167.5 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.4895, allocations: 314.5 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.4907, allocations: 1.066 MB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4907, allocations: 0 / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4907, allocations: 3.938 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.4907, allocations: 3.938 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002029/0.4927, allocations: 1.084 MB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4928, allocations: 8.031 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.4929, allocations: 92.38 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.494, allocations: 0.4961 MB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.494, allocations: 45.69 kB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4941, allocations: 68.31 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4953, allocations: 0.6658 MB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.4953, allocations: 0 / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4954, allocations: 24 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.4954, allocations: 20 kB / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.4964, allocations: 461 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.4993, allocations: 1.69 MB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.5002, allocations: 417.5 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.5007, allocations: 222.1 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.5007, allocations: 12.42 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005852/0.5013, allocations: 261.3 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.5013, allocations: 0 / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001377/0.5027, allocations: 0.5807 MB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.5028, allocations: 63.83 kB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.5033, allocations: 438.5 kB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.5033, allocations: 33.7 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.5036, allocations: 332.9 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.5038, allocations: 178.5 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.5039, allocations: 90.34 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5041, allocations: 362.8 kB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.5046, allocations: 190.9 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.505, allocations: 280.3 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/0.5059, allocations: 455 kB / 1.381 GB, free: 11.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5059, allocations: 4 kB / 1.381 GB, free: 11.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001121/0.507, allocations: 0.5902 MB / 1.382 GB, free: 10.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.5071, allocations: 37.64 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5071, allocations: 8.188 kB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.5071, allocations: 8 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.5076, allocations: 111.8 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.5076, allocations: 4 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.5079, allocations: 59.64 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.508, allocations: 16 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002917/0.5083, allocations: 211.8 kB / 1.382 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.5083, allocations: 55.62 kB / 1.382 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.5085, allocations: 77.31 kB / 1.382 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.5085, allocations: 7.984 kB / 1.382 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5085, allocations: 4 kB / 1.382 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.5085, allocations: 3.984 kB / 1.382 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.5103, allocations: 0.9867 MB / 1.383 GB, free: 9.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5103, allocations: 3.938 kB / 1.383 GB, free: 9.086 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.5108, allocations: 103.8 kB / 1.384 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5108, allocations: 4 kB / 1.384 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.5108, allocations: 8 kB / 1.384 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5108, allocations: 0 / 1.384 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5108, allocations: 3.984 kB / 1.384 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.5122, allocations: 0.7575 MB / 1.384 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.5124, allocations: 103.5 kB / 1.384 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.5125, allocations: 16.12 kB / 1.384 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.5128, allocations: 19.98 kB / 1.384 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5129, allocations: 40.36 kB / 1.384 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5129, allocations: 8 kB / 1.384 GB, free: 8.016 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003701/0.5133, allocations: 299.1 kB / 1.385 GB, free: 7.723 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.5133, allocations: 0 / 1.385 GB, free: 7.723 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004723/0.5137, allocations: 143.6 kB / 1.385 GB, free: 7.582 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001717/0.5139, allocations: 119.1 kB / 1.385 GB, free: 7.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.5149, allocations: 482.4 kB / 1.385 GB, free: 6.969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5149, allocations: 3.938 kB / 1.385 GB, free: 6.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.5154, allocations: 210.9 kB / 1.386 GB, free: 6.762 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.5161, allocations: 146.9 kB / 1.386 GB, free: 6.625 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.5191, allocations: 1.353 MB / 1.387 GB, free: 5.234 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5194, allocations: 292.7 kB / 1.387 GB, free: 4.926 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.5197, allocations: 68.53 kB / 1.387 GB, free: 4.855 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.5198, allocations: 39.44 kB / 1.387 GB, free: 4.82 MB / 1.076 GB Notification: Performance of SimCode: time 1.312e-06/0.5198, allocations: 0 / 1.387 GB, free: 4.82 MB / 1.076 GB Notification: Performance of Templates: time 0.01393/0.5337, allocations: 6.537 MB / 1.394 GB, free: 14.41 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.991890070959926]