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.001273/0.001273, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009803/0.0009803, allocations: 161 kB / 24.16 MB, free: 332 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 1.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.433e-05, allocations: 5.266 kB / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002652/0.002677, allocations: 1.637 MB / 0.7616 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.003342, allocations: 0.5021 MB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.003397, allocations: 5.219 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.003485, allocations: 7.875 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.003536, allocations: 19.53 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.00373, allocations: 39.84 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003862, allocations: 93.11 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.003937, allocations: 15.97 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.004079, allocations: 56.62 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.004139, allocations: 31.91 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004157, allocations: 9.188 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.004201, allocations: 8 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.004233, allocations: 15.97 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.004266, allocations: 24.92 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.004379, allocations: 71.67 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.00438, allocations: 0 / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004381, allocations: 0.7188 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.004384, allocations: 0 / 0.7625 GB, free: 4.074 MB / 0.7136 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.0003912/0.004775, allocations: 341.1 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.004804, allocations: 12.81 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.004902, allocations: 20.92 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005026, allocations: 130.8 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.005035, allocations: 4.375 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.005047, allocations: 8.375 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005181, allocations: 117.6 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005188, allocations: 192 / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005195, allocations: 0.9375 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.0052, allocations: 3.938 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.005239, allocations: 39.48 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.005509, allocations: 199 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.005578, allocations: 56.27 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.00561, allocations: 47.86 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.005621, allocations: 4 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.005728, allocations: 107.8 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005729, allocations: 0 / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001487/0.005877, allocations: 154.8 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.005906, allocations: 77.11 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.005974, allocations: 140 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.005987, allocations: 25.7 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.006023, allocations: 96.06 kB / 0.764 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.006037, allocations: 26.31 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.006074, allocations: 25.7 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.006141, allocations: 322.8 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.006179, allocations: 63.41 kB / 0.7644 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.006216, allocations: 71.33 kB / 0.7645 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.852e-05/0.006284, allocations: 120.8 kB / 0.7646 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.006286, allocations: 0 / 0.7646 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.006392, allocations: 185 kB / 0.7648 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.006432, allocations: 64.44 kB / 0.7649 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.006436, allocations: 0 / 0.7649 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006446, allocations: 0 / 0.7649 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.006516, allocations: 16.73 kB / 0.7649 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006518, allocations: 0 / 0.7649 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.006571, allocations: 18.39 kB / 0.7649 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.00658, allocations: 7.984 kB / 0.7649 GB, free: 1.328 MB / 0.7136 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.535e-05/0.006646, allocations: 146.3 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.00666, allocations: 19.86 kB / 0.7651 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.006679, allocations: 8.781 kB / 0.7651 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006681, allocations: 10.38 kB / 0.7651 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.006682, allocations: 0 / 0.7651 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006684, allocations: 0 / 0.7651 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.00684, allocations: 266.2 kB / 0.7653 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006841, allocations: 0 / 0.7653 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.006877, allocations: 19.92 kB / 0.7654 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006878, allocations: 1.781 kB / 0.7654 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.006885, allocations: 4 kB / 0.7654 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006886, allocations: 0 / 0.7654 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006888, allocations: 3.984 kB / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.006988, allocations: 215.2 kB / 0.7656 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.007, allocations: 20.91 kB / 0.7656 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.007015, allocations: 4 kB / 0.7656 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.007071, allocations: 8.922 kB / 0.7656 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.007131, allocations: 23.97 kB / 0.7656 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007137, allocations: 4 kB / 0.7656 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.007e-05/0.007157, allocations: 25.69 kB / 0.7657 GB, free: 500 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007157, allocations: 0 / 0.7657 GB, free: 500 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001292/0.007287, allocations: 23.94 kB / 0.7657 GB, free: 476 kB / 0.7136 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.825e-05/0.007365, allocations: 88.47 kB / 0.7658 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.007513, allocations: 245.5 kB / 0.766 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007515, allocations: 0 / 0.766 GB, free: 88 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.007589, allocations: 110.6 kB / 0.7661 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.007725, allocations: 9.141 kB / 0.7661 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.00814, allocations: 239 kB / 0.7663 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.008173, allocations: 63.34 kB / 0.7664 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.008201, allocations: 1.5 kB / 0.7664 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.008275, allocations: 68.48 kB / 0.7665 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.008275, allocations: 0 / 0.7665 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.002706/0.01098, allocations: 1.418 MB / 0.7679 GB, free: 14.2 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.927737090270966]