Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001539/0.001539, allocations: 110 kB / 18.93 MB, free: 2.945 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.001582/0.001582, allocations: 184.9 kB / 22.23 MB, free: 5.16 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 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.781/2.781, allocations: 476.7 MB / 0.7646 GB, free: 9.871 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter")
translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7431, allocations: 168.8 MB / 1.274 GB, free: 4.23 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002872/0.746, allocations: 1.542 MB / 1.276 GB, free: 2.68 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0009038/0.7469, allocations: 460.5 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.7469, allocations: 4 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.747, allocations: 3.938 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.7471, allocations: 7.875 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.7473, allocations: 47.88 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001591/0.7475, allocations: 83.72 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7476, allocations: 12.17 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.7477, allocations: 43.89 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.7478, allocations: 35.84 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.7478, allocations: 4 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.242e-05/0.7478, allocations: 8 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.7479, allocations: 23.86 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.748, allocations: 31.8 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7481, allocations: 70.11 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7481, allocations: 4 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.342e-06/0.7481, allocations: 0 / 1.277 GB, free: 1.859 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.297e-05/0.7481, allocations: 4 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0007549/0.7489, allocations: 369.4 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7489, allocations: 12.03 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.7489, allocations: 8.891 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.7491, allocations: 130.4 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7491, allocations: 4.375 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.7492, allocations: 12.38 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.7495, allocations: 97.69 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7495, allocations: 0 / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.7495, allocations: 4 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7495, allocations: 0 / 1.277 GB, free: 1.16 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.7498, allocations: 71.88 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.7505, allocations: 315.7 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.7508, allocations: 78.52 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.751, allocations: 48.95 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.751, allocations: 4 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.7513, allocations: 107.4 kB / 1.278 GB, free: 492 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.7513, allocations: 3.938 kB / 1.278 GB, free: 488 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.000723/0.752, allocations: 207.2 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.7521, allocations: 85.11 kB / 1.278 GB, free: 164 kB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.7523, allocations: 132.8 kB / 1.278 GB, free: 20 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.7523, allocations: 33.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.7524, allocations: 96.03 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.7524, allocations: 15.89 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.7525, allocations: 29.72 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001504/0.7526, allocations: 322.8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.7528, allocations: 55.89 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.753, allocations: 43.97 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.7533, allocations: 165.9 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7533, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000493/0.7538, allocations: 217.1 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.7539, allocations: 61.75 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7539, allocations: 96 / 1.279 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7539, allocations: 3.938 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.7541, allocations: 19.98 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7541, allocations: 3.984 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.7542, allocations: 19.88 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.7543, allocations: 7.938 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001372/0.7544, allocations: 155.4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.7544, allocations: 15.94 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.7545, allocations: 8.719 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.7545, allocations: 4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7545, allocations: 0 / 1.279 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7545, allocations: 0 / 1.279 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.7551, allocations: 403.2 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7551, allocations: 4 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.7552, allocations: 15.98 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.7552, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7553, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.7553, allocations: 3.938 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7553, allocations: 7.984 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.7557, allocations: 265.1 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.7558, allocations: 11.94 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.7558, allocations: 7.938 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.756, allocations: 15.92 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7561, allocations: 23.97 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.7561, allocations: 0 / 1.28 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.8e-05/0.7562, allocations: 103.3 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1e-07/0.7562, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002507/0.7564, allocations: 20 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count)
 * Number of discrete states: 2 (act1.count,reqCou.nInc)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001322/0.7565, allocations: 111.7 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000517/0.7571, allocations: 218.6 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7571, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.7573, allocations: 111.4 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7576, allocations: 14.8 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.7582, allocations: 214.9 kB / 1.281 GB, free: 13 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7585, allocations: 0.6924 MB / 1.282 GB, free: 12.29 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 6.172e-05/0.7586, allocations: 15.98 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.7586, allocations: 15.44 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.41e-07/0.7586, allocations: 192 / 1.282 GB, free: 12.25 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004559/0.7632, allocations: 1.36 MB / 1.283 GB, free: 10.91 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.560330713167787]