Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001538/0.001538, allocations: 191 kB / 22.1 MB, free: 4.223 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.508/1.508, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.969/2.969, allocations: 495.8 MB / 0.783 GB, free: 12.33 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.88 kB / 1.137 GB, free: 12.19 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9436/0.9457, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00212/0.9478, allocations: 1.541 MB / 1.308 GB, free: 32.68 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0006/0.9484, allocations: 460.3 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.9484, allocations: 0 / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 9.374e-05/0.9485, allocations: 11.11 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.9486, allocations: 10.38 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.9488, allocations: 39.27 kB / 1.309 GB, free: 32.32 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001186/0.9489, allocations: 83.78 kB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.949, allocations: 10.77 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.9491, allocations: 51.11 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.9491, allocations: 37.27 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.9492, allocations: 5.875 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.9492, allocations: 5.594 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.9492, allocations: 18.52 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.9493, allocations: 27.89 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.9494, allocations: 75.27 kB / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9494, allocations: 3.281 kB / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.9494, allocations: 0 / 1.309 GB, free: 32.18 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 4.708e-06/0.9494, allocations: 0 / 1.309 GB, free: 32.18 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0005801/0.95, allocations: 376.8 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.95, allocations: 9.375 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.95, allocations: 8.016 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9502, allocations: 134.7 kB / 1.31 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.9502, allocations: 11.3 kB / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.9502, allocations: 6.594 kB / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.9504, allocations: 97.05 kB / 1.31 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9505, allocations: 4 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.9505, allocations: 4 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9505, allocations: 3 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.9507, allocations: 75.81 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.9512, allocations: 300.5 kB / 1.31 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.9515, allocations: 85.27 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.9516, allocations: 48.56 kB / 1.31 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.9516, allocations: 2.906 kB / 1.31 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.9519, allocations: 105.3 kB / 1.31 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.9519, allocations: 2.906 kB / 1.31 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of matching and sorting (n=7): time 0.0005813/0.9525, allocations: 210.4 kB / 1.31 GB, free: 31.11 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.9525, allocations: 84.05 kB / 1.311 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.9526, allocations: 132.9 kB / 1.311 GB, free: 30.9 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.9526, allocations: 32.7 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.9526, allocations: 102.9 kB / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.9527, allocations: 10.81 kB / 1.311 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.9527, allocations: 30.34 kB / 1.311 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.032e-05/0.9527, allocations: 325.2 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.9529, allocations: 44.45 kB / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.9531, allocations: 56.77 kB / 1.311 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.9533, allocations: 169.7 kB / 1.311 GB, free: 30.27 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9533, allocations: 0 / 1.311 GB, free: 30.27 MB / 1.061 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004017/0.9537, allocations: 216.5 kB / 1.312 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.9538, allocations: 60.53 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9538, allocations: 6.938 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9538, allocations: 0 / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.9539, allocations: 17.98 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.9539, allocations: 0 / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.954, allocations: 23.7 kB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.9541, allocations: 10.44 kB / 1.312 GB, free: 30.05 MB / 1.061 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 6.964e-05/0.9541, allocations: 147.2 kB / 1.312 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.9542, allocations: 10.17 kB / 1.312 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.9542, allocations: 12.72 kB / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9542, allocations: 2.969 kB / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9542, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9542, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.9546, allocations: 411.6 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9546, allocations: 0 / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.9547, allocations: 12.97 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9547, allocations: 4 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.9547, allocations: 6.156 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9547, allocations: 3.938 kB / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9547, allocations: 0 / 1.312 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.9551, allocations: 267.9 kB / 1.313 GB, free: 29.34 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.9551, allocations: 6.859 kB / 1.313 GB, free: 29.34 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.9552, allocations: 6.969 kB / 1.313 GB, free: 29.34 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.9553, allocations: 23.22 kB / 1.313 GB, free: 29.33 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.9554, allocations: 23.64 kB / 1.313 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.9554, allocations: 2.5 kB / 1.313 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.036e-05/0.9554, allocations: 101.2 kB / 1.313 GB, free: 29.24 MB / 1.061 GB
Notification: Performance of sort global known variables: time 9e-08/0.9554, allocations: 3.344 kB / 1.313 GB, free: 29.24 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002399/0.9557, allocations: 13.62 kB / 1.313 GB, free: 29.24 MB / 1.061 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 7.82e-05/0.9558, allocations: 103.7 kB / 1.313 GB, free: 29.15 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003995/0.9562, allocations: 219.9 kB / 1.313 GB, free: 29 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9562, allocations: 3.938 kB / 1.313 GB, free: 28.99 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.9564, allocations: 108.3 kB / 1.313 GB, free: 28.92 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.9566, allocations: 17.94 kB / 1.313 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.9571, allocations: 214.6 kB / 1.313 GB, free: 28.75 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 9.322e-05/0.9572, allocations: 0.6957 MB / 1.314 GB, free: 28.05 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 5.179e-05/0.9572, allocations: 16.03 kB / 1.314 GB, free: 28.05 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.9572, allocations: 16.72 kB / 1.314 GB, free: 28.04 MB / 1.061 GB
Notification: Performance of SimCode: time 4.71e-07/0.9572, allocations: 4 kB / 1.314 GB, free: 28.04 MB / 1.061 GB
Notification: Performance of Templates: time 0.003677/0.9609, allocations: 1.364 MB / 1.315 GB, free: 27.92 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.178054479882121]