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.001348/0.001348, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001483/0.001483, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.91/2.91, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.00215/0.00215, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004747/1.042, allocations: 3.77 MB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002574/1.045, allocations: 1.328 MB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/1.045, allocations: 33 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003454/1.045, allocations: 121.5 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/1.046, allocations: 185.9 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/1.047, allocations: 425.2 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009205/1.047, allocations: 0.954 MB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/1.048, allocations: 283.4 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/1.048, allocations: 340.6 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/1.049, allocations: 297.9 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/1.049, allocations: 94.38 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/1.049, allocations: 91.16 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/1.049, allocations: 181.1 kB / 1.194 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/1.049, allocations: 304.7 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/1.051, allocations: 1.072 MB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.051, allocations: 0 / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.051, allocations: 0 / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.051, allocations: 0 / 1.196 GB, free: 10.43 MB / 1.076 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.001861/1.052, allocations: 1.081 MB / 1.197 GB, free: 9.703 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.052, allocations: 9.125 kB / 1.197 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.053, allocations: 91.78 kB / 1.197 GB, free: 9.656 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/1.054, allocations: 0.502 MB / 1.197 GB, free: 9.312 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/1.054, allocations: 41.31 kB / 1.197 GB, free: 9.297 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/1.054, allocations: 64.56 kB / 1.198 GB, free: 9.273 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.055, allocations: 0.6606 MB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.055, allocations: 1.453 kB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/1.055, allocations: 26.19 kB / 1.198 GB, free: 8.895 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/1.055, allocations: 18.38 kB / 1.198 GB, free: 8.891 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009769/1.056, allocations: 459.2 kB / 1.199 GB, free: 8.723 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/1.058, allocations: 1.691 MB / 1.2 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/1.059, allocations: 427.5 kB / 1.201 GB, free: 7.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/1.06, allocations: 223.5 kB / 1.201 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/1.06, allocations: 10.39 kB / 1.201 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/1.06, allocations: 259.4 kB / 1.201 GB, free: 7.223 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.825e-06/1.06, allocations: 0 / 1.201 GB, free: 7.223 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001392/1.062, allocations: 0.587 MB / 1.202 GB, free: 6.977 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.062, allocations: 62.47 kB / 1.202 GB, free: 6.906 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/1.062, allocations: 429 kB / 1.202 GB, free: 6.695 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/1.062, allocations: 37.53 kB / 1.202 GB, free: 6.656 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/1.063, allocations: 331.6 kB / 1.203 GB, free: 6.395 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.063, allocations: 180.7 kB / 1.203 GB, free: 6.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.063, allocations: 93.3 kB / 1.203 GB, free: 6.199 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/1.063, allocations: 364.3 kB / 1.203 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/1.063, allocations: 196.4 kB / 1.203 GB, free: 5.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.064, allocations: 282.4 kB / 1.204 GB, free: 5.586 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/1.064, allocations: 456.5 kB / 1.204 GB, free: 5.312 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.064, allocations: 1.219 kB / 1.204 GB, free: 5.312 MB / 1.076 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001027/1.066, allocations: 0.5902 MB / 1.205 GB, free: 5.012 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.066, allocations: 33.52 kB / 1.205 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.066, allocations: 10.12 kB / 1.205 GB, free: 4.973 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.066, allocations: 4.859 kB / 1.205 GB, free: 4.973 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/1.066, allocations: 117.8 kB / 1.205 GB, free: 4.957 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.066, allocations: 5.062 kB / 1.205 GB, free: 4.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/1.066, allocations: 53.06 kB / 1.205 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/1.066, allocations: 18.97 kB / 1.205 GB, free: 4.926 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.000231/1.067, allocations: 211.6 kB / 1.205 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/1.067, allocations: 61.66 kB / 1.205 GB, free: 4.711 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.067, allocations: 68.09 kB / 1.205 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.067, allocations: 5.219 kB / 1.205 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.067, allocations: 4.547 kB / 1.205 GB, free: 4.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/1.067, allocations: 3.172 kB / 1.205 GB, free: 4.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/1.069, allocations: 0.9883 MB / 1.206 GB, free: 4.102 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.069, allocations: 5.281 kB / 1.206 GB, free: 4.098 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/1.069, allocations: 101.8 kB / 1.206 GB, free: 4.082 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.069, allocations: 2.562 kB / 1.206 GB, free: 4.082 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.069, allocations: 12.8 kB / 1.206 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.069, allocations: 1.094 kB / 1.206 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.069, allocations: 1.062 kB / 1.206 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.07, allocations: 0.7583 MB / 1.207 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.071, allocations: 101.8 kB / 1.207 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/1.071, allocations: 11.44 kB / 1.207 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/1.071, allocations: 23.02 kB / 1.207 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.071, allocations: 37.61 kB / 1.207 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/1.071, allocations: 10.44 kB / 1.207 GB, free: 3.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003067/1.071, allocations: 299.5 kB / 1.208 GB, free: 3.438 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.071, allocations: 0 / 1.208 GB, free: 3.438 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004738/1.072, allocations: 146.7 kB / 1.208 GB, free: 3.395 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.0001086/1.072, allocations: 117.5 kB / 1.208 GB, free: 3.293 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009018/1.073, allocations: 488.1 kB / 1.208 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.073, allocations: 0 / 1.208 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/1.073, allocations: 209.4 kB / 1.208 GB, free: 2.992 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/1.074, allocations: 150.5 kB / 1.209 GB, free: 2.934 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/1.076, allocations: 1.353 MB / 1.21 GB, free: 2.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.077, allocations: 295.2 kB / 1.21 GB, free: 2.027 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000275/1.077, allocations: 66.78 kB / 1.21 GB, free: 2.004 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.077, allocations: 40.23 kB / 1.21 GB, free: 1.996 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/1.077, allocations: 0 / 1.21 GB, free: 1.996 MB / 1.076 GB Notification: Performance of Templates: time 0.01343/1.091, allocations: 5.828 MB / 1.216 GB, free: 1.266 MB / 1.076 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 -s ida -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/jenkins1/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.351467807078734]