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.001348/0.001348, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001531/0.001531, allocations: 181 kB / 23.36 MB, free: 1.133 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.9936/0.9936, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.452/2.452, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.014e-06/2.014e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.623e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.003543/0.003569, allocations: 1.642 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.00473, allocations: 0.5025 MB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.00481, allocations: 0 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.004937, allocations: 11.92 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.005012, allocations: 19.8 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.005324, allocations: 43.83 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.005539, allocations: 87.69 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.005651, allocations: 15.98 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.005923, allocations: 63.81 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.006017, allocations: 23.97 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.006042, allocations: 4 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.00611, allocations: 12 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.006161, allocations: 19.91 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.006211, allocations: 23.92 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.006379, allocations: 67.73 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006383, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006384, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006388, allocations: 0 / 0.8411 GB, free: 11.59 MB / 0.8073 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.0005683/0.006956, allocations: 356 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006995, allocations: 8.625 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.007162, allocations: 16.92 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.007353, allocations: 129.6 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.00737, allocations: 8.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.007386, allocations: 4.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007602, allocations: 108.5 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007612, allocations: 192 / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.007626, allocations: 12.38 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.007636, allocations: 7.922 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.00771, allocations: 41.69 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.008108, allocations: 183.1 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.008222, allocations: 64.2 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.008275, allocations: 42.56 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.00829, allocations: 128 / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.008463, allocations: 109 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.008465, allocations: 7.938 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002255/0.008691, allocations: 158.7 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.008737, allocations: 85.11 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.008837, allocations: 133.1 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.008858, allocations: 29.7 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.008913, allocations: 100.1 kB / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.008933, allocations: 15.89 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.008993, allocations: 25.7 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.009095, allocations: 318.8 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.009168, allocations: 63.39 kB / 0.843 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.009225, allocations: 71.39 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.009336, allocations: 128.7 kB / 0.8432 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009338, allocations: 0 / 0.8432 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.009519, allocations: 188.5 kB / 0.8434 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.00957, allocations: 61.69 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009575, allocations: 0 / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009589, allocations: 0 / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.009699, allocations: 19.98 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.009702, allocations: 0 / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.009791, allocations: 19.88 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.009808, allocations: 4 kB / 0.8435 GB, free: 8.816 MB / 0.8073 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.000104/0.009912, allocations: 150.4 kB / 0.8437 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.009937, allocations: 11.94 kB / 0.8437 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.009966, allocations: 16.77 kB / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009968, allocations: 0 / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.00997, allocations: 0 / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.009974, allocations: 0 / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.01023, allocations: 274.2 kB / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01024, allocations: 0 / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.01031, allocations: 15.92 kB / 0.844 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.01031, allocations: 8 kB / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01032, allocations: 0 / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01033, allocations: 0 / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01033, allocations: 4 kB / 0.844 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01051, allocations: 218.8 kB / 0.8442 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.01053, allocations: 11.89 kB / 0.8442 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01055, allocations: 3.938 kB / 0.8442 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.01062, allocations: 15.98 kB / 0.8442 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.01069, allocations: 15.97 kB / 0.8442 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.01069, allocations: 4 kB / 0.8442 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.21e-05/0.01071, allocations: 24.84 kB / 0.8443 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01071, allocations: 4 kB / 0.8443 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001341/0.01085, allocations: 19.94 kB / 0.8443 GB, free: 7.953 MB / 0.8073 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.696e-05/0.01095, allocations: 88.41 kB / 0.8444 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.01111, allocations: 236.7 kB / 0.8446 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01111, allocations: 4 kB / 0.8446 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.01118, allocations: 106 kB / 0.8447 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.01134, allocations: 15.98 kB / 0.8447 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.01181, allocations: 233.1 kB / 0.8449 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.01185, allocations: 59.3 kB / 0.845 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01189, allocations: 7.984 kB / 0.845 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.01196, allocations: 71.36 kB / 0.8451 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.01196, allocations: 4 kB / 0.8451 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of Templates: time 0.003165/0.01513, allocations: 1.429 MB / 0.8465 GB, free: 5.637 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] 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","",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.2448630961589515]