Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.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.002035/0.002035, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002386/0.002386, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.56/3.56, allocations: 0.5569 GB / 0.862 GB, free: 4.402 MB / 0.6544 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003549/0.003549, allocations: 71.89 kB / 1.255 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4246, allocations: 193.6 MB / 1.444 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002828/0.4274, allocations: 1.537 MB / 1.446 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.4283, allocations: 0.4909 MB / 1.446 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.4284, allocations: 0 / 1.446 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 9.3e-05/0.4285, allocations: 7.875 kB / 1.446 GB, free: 13.41 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.4285, allocations: 15.86 kB / 1.446 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.4288, allocations: 43.88 kB / 1.446 GB, free: 13.36 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.4289, allocations: 87.77 kB / 1.447 GB, free: 13.27 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.429, allocations: 8 kB / 1.447 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.4292, allocations: 47.84 kB / 1.447 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.4293, allocations: 39.83 kB / 1.447 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.4293, allocations: 8 kB / 1.447 GB, free: 13.17 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.4293, allocations: 8 kB / 1.447 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.4294, allocations: 15.92 kB / 1.447 GB, free: 13.14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.4294, allocations: 31.8 kB / 1.447 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4296, allocations: 83.58 kB / 1.447 GB, free: 13.03 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4296, allocations: 0 / 1.447 GB, free: 13.03 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4296, allocations: 0 / 1.447 GB, free: 13.03 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.4296, allocations: 0 / 1.447 GB, free: 13.03 MB / 1.139 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.0007321/0.4303, allocations: 385.4 kB / 1.447 GB, free: 12.61 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.4304, allocations: 8.031 kB / 1.447 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4305, allocations: 20.88 kB / 1.447 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4307, allocations: 126.4 kB / 1.447 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4308, allocations: 8.375 kB / 1.447 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4308, allocations: 4.375 kB / 1.447 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.4311, allocations: 127.6 kB / 1.447 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4311, allocations: 4 kB / 1.447 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4311, allocations: 4 kB / 1.447 GB, free: 12.28 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.4311, allocations: 0 / 1.447 GB, free: 12.28 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.4315, allocations: 101.6 kB / 1.448 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.4321, allocations: 280.3 kB / 1.448 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.4324, allocations: 112.2 kB / 1.448 GB, free: 11.75 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.4326, allocations: 74.66 kB / 1.448 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.4326, allocations: 0 / 1.448 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.4329, allocations: 137.1 kB / 1.448 GB, free: 11.51 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4329, allocations: 0 / 1.448 GB, free: 11.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0007326/0.4337, allocations: 266.6 kB / 1.448 GB, free: 11.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.4337, allocations: 85.09 kB / 1.448 GB, free: 11.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4339, allocations: 126.1 kB / 1.449 GB, free: 10.99 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4339, allocations: 33.69 kB / 1.449 GB, free: 10.95 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.434, allocations: 96.09 kB / 1.449 GB, free: 10.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.434, allocations: 27.78 kB / 1.449 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.4341, allocations: 21.72 kB / 1.449 GB, free: 10.8 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4342, allocations: 322.8 kB / 1.449 GB, free: 10.47 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.4344, allocations: 115.3 kB / 1.449 GB, free: 10.35 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4347, allocations: 107.3 kB / 1.449 GB, free: 10.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.435, allocations: 161.9 kB / 1.449 GB, free: 10.05 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.435, allocations: 4 kB / 1.449 GB, free: 10.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005371/0.4356, allocations: 268.3 kB / 1.45 GB, free: 9.754 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.4356, allocations: 67.67 kB / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4356, allocations: 0 / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4356, allocations: 0 / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4358, allocations: 19.92 kB / 1.45 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4358, allocations: 320 / 1.45 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4359, allocations: 19.97 kB / 1.45 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4359, allocations: 4 kB / 1.45 GB, free: 9.633 MB / 1.139 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.0001281/0.4361, allocations: 147.5 kB / 1.45 GB, free: 9.473 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.4361, allocations: 11.95 kB / 1.45 GB, free: 9.461 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.4361, allocations: 24.64 kB / 1.45 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4361, allocations: 0 / 1.45 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4361, allocations: 0 / 1.45 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4361, allocations: 0 / 1.45 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.4368, allocations: 401.5 kB / 1.45 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4368, allocations: 3.984 kB / 1.45 GB, free: 8.984 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.4369, allocations: 15.98 kB / 1.45 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4369, allocations: 4 kB / 1.45 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4369, allocations: 0 / 1.45 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4369, allocations: 7.984 kB / 1.45 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4369, allocations: 0 / 1.45 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.4374, allocations: 298.7 kB / 1.451 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.4374, allocations: 7.953 kB / 1.451 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4375, allocations: 0 / 1.451 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.4376, allocations: 15.98 kB / 1.451 GB, free: 8.613 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.4377, allocations: 27.97 kB / 1.451 GB, free: 8.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4377, allocations: 7.984 kB / 1.451 GB, free: 8.578 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.162e-05/0.4378, allocations: 113 kB / 1.451 GB, free: 8.469 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.4378, allocations: 0 / 1.451 GB, free: 8.469 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002594/0.4381, allocations: 16 kB / 1.451 GB, free: 8.453 MB / 1.139 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.000119/0.4382, allocations: 99.19 kB / 1.451 GB, free: 8.348 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005758/0.4388, allocations: 319.7 kB / 1.451 GB, free: 7.992 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4388, allocations: 3.938 kB / 1.451 GB, free: 7.988 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.439, allocations: 129.1 kB / 1.451 GB, free: 7.844 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.4393, allocations: 13.97 kB / 1.451 GB, free: 7.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.4399, allocations: 240.7 kB / 1.452 GB, free: 7.566 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.309e-05/0.44, allocations: 87.27 kB / 1.452 GB, free: 7.461 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.787e-05/0.44, allocations: 11.98 kB / 1.452 GB, free: 7.449 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.4401, allocations: 19.42 kB / 1.452 GB, free: 7.43 MB / 1.139 GB Notification: Performance of SimCode: time 3.4e-07/0.4401, allocations: 192 / 1.452 GB, free: 7.43 MB / 1.139 GB Notification: Performance of Templates: time 0.004439/0.4445, allocations: 1.461 MB / 1.453 GB, free: 6.02 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.322002977132797]