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.001371/0.001371, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009825/0.0009825, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.9342/0.9342, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.856/1.856, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.343e-06/1.343e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.297e-05, allocations: 3.219 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002154/0.002177, allocations: 1.582 MB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.00291, allocations: 0.4924 MB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.003004, allocations: 5.688 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.003219, allocations: 3.938 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.003312, allocations: 15.86 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.003621, allocations: 48.95 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.003761, allocations: 83.75 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003866, allocations: 15.98 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.004042, allocations: 61.66 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.004112, allocations: 31.91 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.004133, allocations: 4 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.004175, allocations: 12 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.004211, allocations: 15.91 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.00425, allocations: 26.45 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004385, allocations: 75.67 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.00439, allocations: 0 / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.923e-06/0.004392, allocations: 0 / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.004396, allocations: 0 / 0.8144 GB, free: 15.02 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.000476/0.004872, allocations: 471.7 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.004906, allocations: 8.75 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.005018, allocations: 17.42 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.005165, allocations: 148.7 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005176, allocations: 384 / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.005186, allocations: 8.375 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005345, allocations: 108.6 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005353, allocations: 0.8438 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.005362, allocations: 4.375 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005368, allocations: 5 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.00541, allocations: 41.62 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.005735, allocations: 289.5 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.00582, allocations: 72.73 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.005858, allocations: 50.84 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.005872, allocations: 3.938 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.005996, allocations: 106.8 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.005998, allocations: 1.125 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002234/0.006221, allocations: 182.7 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.006262, allocations: 85.03 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.00635, allocations: 190.5 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006366, allocations: 29.7 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.006419, allocations: 147.4 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.006435, allocations: 20.69 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.006472, allocations: 31.36 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006591, allocations: 0.4981 MB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.006633, allocations: 63.39 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.006671, allocations: 67.39 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.006741, allocations: 116.8 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006743, allocations: 0 / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001389/0.006882, allocations: 208.3 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.006923, allocations: 68.08 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006927, allocations: 2.406 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.006936, allocations: 0 / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.007008, allocations: 19.92 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.007011, allocations: 0 / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.007061, allocations: 19.92 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.007069, allocations: 0 / 0.8174 GB, free: 11.66 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.069e-05/0.00715, allocations: 192.2 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.007164, allocations: 11.89 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.007188, allocations: 20.77 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00719, allocations: 0 / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007192, allocations: 0.5 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007194, allocations: 0 / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.007401, allocations: 377.9 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007403, allocations: 9.281 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.007434, allocations: 8 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007436, allocations: 4 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.007443, allocations: 4.703 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007443, allocations: 0 / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.007445, allocations: 1.047 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007593, allocations: 299.2 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.007602, allocations: 11.58 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007616, allocations: 7.984 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.007669, allocations: 12 kB / 0.8183 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.007731, allocations: 15.97 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.007739, allocations: 4 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.007784, allocations: 149.3 kB / 0.8184 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007784, allocations: 7.938 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001444/0.007929, allocations: 16 kB / 0.8185 GB, free: 10.45 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 9.381e-05/0.008023, allocations: 105.1 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.00819, allocations: 243.6 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008192, allocations: 0 / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.00826, allocations: 116.7 kB / 0.8189 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.008442, allocations: 20.86 kB / 0.8189 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.00892, allocations: 218.4 kB / 0.8191 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.008971, allocations: 63.34 kB / 0.8192 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.009003, allocations: 5.062 kB / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.009081, allocations: 87.03 kB / 0.8193 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.009082, allocations: 0 / 0.8193 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of Templates: time 0.002835/0.01192, allocations: 1.536 MB / 0.8208 GB, free: 7.98 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: 4.915704725310206]