Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001722/0.001722, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002535/0.002535, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.852/2.852, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.509e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006446/0.006481, allocations: 3.769 MB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.009824, allocations: 1.331 MB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006366/0.01046, allocations: 31.81 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.01091, allocations: 130.6 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.0114, allocations: 194.6 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.01243, allocations: 411.8 kB / 0.8165 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.01396, allocations: 0.9763 MB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.01455, allocations: 286.6 kB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.01534, allocations: 0.4989 MB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.01572, allocations: 239.2 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.01586, allocations: 92.66 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.01601, allocations: 92 kB / 0.8186 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.01621, allocations: 180.7 kB / 0.8188 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.01655, allocations: 251.3 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.01801, allocations: 1.094 MB / 0.8201 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01802, allocations: 0 / 0.8201 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01802, allocations: 1.156 kB / 0.8201 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.01803, allocations: 0 / 0.8201 GB, free: 8.57 MB / 0.7761 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.002346/0.02038, allocations: 1.074 MB / 0.8211 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.02042, allocations: 8.031 kB / 0.8211 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.0207, allocations: 132.4 kB / 0.8213 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.02183, allocations: 0.5374 MB / 0.8218 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.02189, allocations: 49.67 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.02201, allocations: 62.5 kB / 0.8219 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.02336, allocations: 0.6505 MB / 0.8225 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.02338, allocations: 192 / 0.8225 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.02346, allocations: 28.12 kB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.02347, allocations: 19.94 kB / 0.8226 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.02461, allocations: 452 kB / 0.823 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.02813, allocations: 1.723 MB / 0.8247 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.02921, allocations: 414.4 kB / 0.8251 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.02973, allocations: 225.7 kB / 0.8253 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.02978, allocations: 8.5 kB / 0.8253 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.03042, allocations: 258.2 kB / 0.8256 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.03042, allocations: 4.969 kB / 0.8256 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.001638/0.03206, allocations: 0.608 MB / 0.8262 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.03213, allocations: 63.84 kB / 0.8262 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.03274, allocations: 427 kB / 0.8266 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.03279, allocations: 37.7 kB / 0.8267 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.03314, allocations: 332.8 kB / 0.827 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.03332, allocations: 175.4 kB / 0.8271 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.0335, allocations: 90.34 kB / 0.8272 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.03375, allocations: 366.8 kB / 0.8276 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.03422, allocations: 192.5 kB / 0.8278 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.03477, allocations: 282.1 kB / 0.828 GB, free: 200 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.03577, allocations: 451.2 kB / 0.8285 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03578, allocations: 4 kB / 0.8285 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001364/0.03714, allocations: 0.6117 MB / 0.8291 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.03719, allocations: 33.95 kB / 0.8291 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0372, allocations: 4 kB / 0.8291 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.03722, allocations: 8 kB / 0.8291 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.03778, allocations: 111.8 kB / 0.8292 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.0378, allocations: 11.94 kB / 0.8292 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.03817, allocations: 55.7 kB / 0.8293 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.03821, allocations: 16 kB / 0.8293 GB, free: 14.85 MB / 0.7917 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.0003222/0.03853, allocations: 203.5 kB / 0.8295 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.03867, allocations: 87.55 kB / 0.8296 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.03882, allocations: 65.44 kB / 0.8296 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.03883, allocations: 8 kB / 0.8296 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.03884, allocations: 3.938 kB / 0.8296 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.03885, allocations: 3.984 kB / 0.8296 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.04086, allocations: 0.9883 MB / 0.8306 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.04086, allocations: 7.984 kB / 0.8306 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.04138, allocations: 91.89 kB / 0.8307 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.04138, allocations: 7.938 kB / 0.8307 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/0.04171, allocations: 15.92 kB / 0.8307 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.04171, allocations: 0 / 0.8307 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.04171, allocations: 0 / 0.8307 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.04338, allocations: 0.7749 MB / 0.8315 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.04359, allocations: 99.5 kB / 0.8316 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.04366, allocations: 15.94 kB / 0.8316 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.04396, allocations: 23.97 kB / 0.8316 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.04408, allocations: 36.44 kB / 0.8317 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.04411, allocations: 12 kB / 0.8317 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004455/0.04456, allocations: 299.1 kB / 0.832 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.04456, allocations: 0 / 0.832 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005169/0.04508, allocations: 139.6 kB / 0.8321 GB, free: 11.93 MB / 0.7917 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.0001795/0.04525, allocations: 119.1 kB / 0.8322 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.04638, allocations: 491.3 kB / 0.8327 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04639, allocations: 0.5 kB / 0.8327 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.04687, allocations: 206.7 kB / 0.8329 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.04769, allocations: 160.1 kB / 0.833 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.05067, allocations: 1.272 MB / 0.8343 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.05104, allocations: 300.5 kB / 0.8345 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.05132, allocations: 60.53 kB / 0.8346 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.05146, allocations: 40.5 kB / 0.8346 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of SimCode: time 7.71e-07/0.05146, allocations: 4 kB / 0.8346 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.01386/0.06532, allocations: 5.809 MB / 0.8403 GB, free: 3.562 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.067302269046195]