Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 114.2 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003213/0.003213, allocations: 194.2 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.28 kB / 1.109 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4166, allocations: 168.8 MB / 1.274 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006666/0.4232, allocations: 4.182 MB / 1.278 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.4263, allocations: 1.325 MB / 1.28 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.4267, allocations: 31.75 kB / 1.28 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.4271, allocations: 130.8 kB / 1.28 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.4275, allocations: 182.3 kB / 1.28 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.4285, allocations: 440.2 kB / 1.28 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.4296, allocations: 0.9593 MB / 1.281 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.4302, allocations: 302.6 kB / 1.282 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.4307, allocations: 350.7 kB / 1.282 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.4311, allocations: 334.4 kB / 1.282 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.4312, allocations: 95.94 kB / 1.282 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.4313, allocations: 92 kB / 1.282 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.4315, allocations: 175.5 kB / 1.283 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.4319, allocations: 390 kB / 1.283 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.4331, allocations: 1.07 MB / 1.284 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4331, allocations: 0 / 1.284 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4331, allocations: 0 / 1.284 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.4331, allocations: 3.984 kB / 1.284 GB, free: 0.8828 MB / 0.9825 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.002111/0.4352, allocations: 1.072 MB / 1.285 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4353, allocations: 15.98 kB / 1.285 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.4354, allocations: 88.38 kB / 1.285 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4364, allocations: 0.496 MB / 1.286 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.4365, allocations: 45.69 kB / 1.286 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4366, allocations: 64.31 kB / 1.286 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4378, allocations: 0.6117 MB / 1.286 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4378, allocations: 0 / 1.286 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.4379, allocations: 24 kB / 1.286 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.4379, allocations: 16 kB / 1.286 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.439, allocations: 464.9 kB / 1.287 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.4421, allocations: 1.947 MB / 1.289 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.4431, allocations: 417.9 kB / 1.289 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.4436, allocations: 230.1 kB / 1.289 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.4436, allocations: 4.438 kB / 1.289 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.4442, allocations: 261.3 kB / 1.29 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.4442, allocations: 0 / 1.29 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001475/0.4457, allocations: 0.5814 MB / 1.29 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.4457, allocations: 67.83 kB / 1.29 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.4463, allocations: 442 kB / 1.291 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.4463, allocations: 37.7 kB / 1.291 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.4466, allocations: 328.9 kB / 1.291 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.4468, allocations: 170.5 kB / 1.291 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.447, allocations: 98.3 kB / 1.291 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.4472, allocations: 370.7 kB / 1.292 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.4476, allocations: 165.2 kB / 1.292 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.4481, allocations: 254.6 kB / 1.292 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.449, allocations: 451 kB / 1.293 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.449, allocations: 0 / 1.293 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001146/0.4502, allocations: 0.5651 MB / 1.293 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.4502, allocations: 37.64 kB / 1.293 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4502, allocations: 0 / 1.293 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4502, allocations: 4 kB / 1.293 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.4508, allocations: 111.9 kB / 1.293 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4508, allocations: 7.938 kB / 1.293 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.4511, allocations: 63.89 kB / 1.293 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.4511, allocations: 16 kB / 1.293 GB, free: 7.129 MB / 0.9981 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.0002865/0.4514, allocations: 206.3 kB / 1.293 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.4515, allocations: 63.56 kB / 1.294 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4517, allocations: 69.52 kB / 1.294 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4517, allocations: 4 kB / 1.294 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4517, allocations: 0 / 1.294 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4517, allocations: 4 kB / 1.294 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.4536, allocations: 1.146 MB / 1.295 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4536, allocations: 0 / 1.295 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.4541, allocations: 95.88 kB / 1.295 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.4541, allocations: 4 kB / 1.295 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.4542, allocations: 15.94 kB / 1.295 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4542, allocations: 4 kB / 1.295 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4542, allocations: 7.984 kB / 1.295 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4556, allocations: 0.7612 MB / 1.296 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.4558, allocations: 91.58 kB / 1.296 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4559, allocations: 16 kB / 1.296 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4562, allocations: 19.98 kB / 1.296 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4563, allocations: 36.36 kB / 1.296 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.4563, allocations: 16 kB / 1.296 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004034/0.4567, allocations: 310.9 kB / 1.296 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4567, allocations: 0 / 1.296 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004643/0.4572, allocations: 143.6 kB / 1.296 GB, free: 4.066 MB / 0.9981 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.0001529/0.4573, allocations: 122.3 kB / 1.296 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4584, allocations: 456.7 kB / 1.297 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4584, allocations: 0 / 1.297 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.4588, allocations: 214.8 kB / 1.297 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.4596, allocations: 160.6 kB / 1.297 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.4625, allocations: 1.364 MB / 1.298 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.4631, allocations: 0.8861 MB / 1.299 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.4633, allocations: 60.58 kB / 1.299 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4634, allocations: 43.44 kB / 1.299 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/0.4634, allocations: 0 / 1.299 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.01338/0.4768, allocations: 6.297 MB / 1.306 GB, free: 10.5 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.100198959931731]