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.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.0009766/0.0009766, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001482/0.001482, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9298/0.9298, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] 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.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 1.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.737e-05, allocations: 3.125 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001833/0.00185, allocations: 1.59 MB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.002535, allocations: 0.4972 MB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.00259, allocations: 0 / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.934e-05/0.00268, allocations: 7.875 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.002728, allocations: 20.81 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.002958, allocations: 48.55 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.003085, allocations: 79.77 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.003175, allocations: 17.67 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.003328, allocations: 55.88 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.003389, allocations: 31.91 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.003407, allocations: 4 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.003444, allocations: 9.531 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.003485, allocations: 19.91 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.003533, allocations: 23.92 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.003669, allocations: 79.61 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003671, allocations: 1.75 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003671, allocations: 0 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003675, allocations: 0 / 0.8139 GB, free: 15.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004697/0.004144, allocations: 468.4 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.004177, allocations: 8.031 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.004289, allocations: 25.72 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004442, allocations: 132.5 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.004456, allocations: 2.969 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.00447, allocations: 4.375 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.004643, allocations: 120.5 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004651, allocations: 192 / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004662, allocations: 384 / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.00467, allocations: 7.938 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.004728, allocations: 50.2 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.005072, allocations: 316.3 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.005169, allocations: 77.28 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.005218, allocations: 59.09 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.005233, allocations: 0 / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.005354, allocations: 110.8 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005355, allocations: 0 / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002482/0.005603, allocations: 195.2 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.005638, allocations: 81.11 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.005726, allocations: 193 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.005739, allocations: 30.48 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.005795, allocations: 146.8 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.005812, allocations: 24.95 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.005851, allocations: 31.36 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005957, allocations: 0.4884 MB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.00601, allocations: 76.7 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.006057, allocations: 75.39 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.006134, allocations: 120.8 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006136, allocations: 0 / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.0063, allocations: 224.9 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.006331, allocations: 55.41 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006336, allocations: 1.125 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.006348, allocations: 4 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.006434, allocations: 13.02 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006439, allocations: 4.312 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.006491, allocations: 15.92 kB / 0.817 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.006501, allocations: 4.844 kB / 0.817 GB, free: 11.81 MB / 0.7761 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 8.015e-05/0.006581, allocations: 200.4 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.006598, allocations: 15.89 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.006623, allocations: 12.77 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006625, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006629, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006632, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.006871, allocations: 415.5 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006873, allocations: 0 / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.00691, allocations: 12 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006912, allocations: 0 / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.006922, allocations: 11.98 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.006924, allocations: 3.938 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006925, allocations: 0 / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.007082, allocations: 300.8 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.00709, allocations: 7.953 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.007106, allocations: 7.984 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.00716, allocations: 4 kB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.007237, allocations: 28.45 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.007244, allocations: 4.531 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.007289, allocations: 139.2 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007289, allocations: 0.5625 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001613/0.007451, allocations: 21.31 kB / 0.8181 GB, free: 10.55 MB / 0.7761 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.067e-05/0.007521, allocations: 111.2 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.007706, allocations: 252.6 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007707, allocations: 0 / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.007783, allocations: 124.7 kB / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.007973, allocations: 20.58 kB / 0.8186 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.00848, allocations: 229 kB / 0.8188 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.008517, allocations: 63.34 kB / 0.8189 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.008552, allocations: 7.984 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.008587, allocations: 20.48 kB / 0.8189 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of SimCode: time 5.42e-07/0.008588, allocations: 1.469 kB / 0.8189 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of Templates: time 0.00283/0.01142, allocations: 1.415 MB / 0.8203 GB, free: 8.25 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.143473858013749]