Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 110.7 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8618, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002763/0.8646, allocations: 1.521 MB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.8654, allocations: 457.5 kB / 1.091 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.8654, allocations: 3.938 kB / 1.091 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.8655, allocations: 5.578 kB / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.8656, allocations: 11.94 kB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.8658, allocations: 33.8 kB / 1.091 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.866, allocations: 82.61 kB / 1.091 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8661, allocations: 19.72 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.8662, allocations: 44.59 kB / 1.091 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.8663, allocations: 37.42 kB / 1.091 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.8664, allocations: 9.938 kB / 1.091 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.8664, allocations: 6.219 kB / 1.091 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.8664, allocations: 9.828 kB / 1.091 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.8665, allocations: 40.28 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.8667, allocations: 72.59 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8667, allocations: 0 / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8667, allocations: 1.062 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8667, allocations: 0 / 1.091 GB, free: 4.234 MB / 0.8575 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.000625/0.8673, allocations: 449.5 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.8674, allocations: 8.625 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.8675, allocations: 9.609 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.8676, allocations: 189.1 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.8676, allocations: 11.95 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8677, allocations: 5.219 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.868, allocations: 94.08 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.868, allocations: 4.453 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.868, allocations: 5.125 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.868, allocations: 5.094 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.8683, allocations: 75.45 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.8688, allocations: 330.8 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.8691, allocations: 84.64 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.8693, allocations: 58.41 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.8693, allocations: 0.75 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.8696, allocations: 97.52 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.8696, allocations: 0.875 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000629/0.8703, allocations: 215.6 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.8703, allocations: 79.78 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8704, allocations: 132.7 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.8704, allocations: 27.23 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.8705, allocations: 98.39 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.8705, allocations: 23.98 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.8706, allocations: 29.05 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.8706, allocations: 328 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.8708, allocations: 49.81 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.871, allocations: 46.69 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.8713, allocations: 169.6 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8713, allocations: 4 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000406/0.8717, allocations: 210.9 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.8718, allocations: 60.38 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8718, allocations: 4.016 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8718, allocations: 1.141 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.8719, allocations: 15.27 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8719, allocations: 5.375 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.8721, allocations: 22.91 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8721, allocations: 2.969 kB / 1.094 GB, free: 1.926 MB / 0.8575 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.066e-05/0.8722, allocations: 151.4 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.8722, allocations: 8.875 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.8722, allocations: 11.92 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8723, allocations: 4.5 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8723, allocations: 1.234 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.8723, allocations: 83.42 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.8723, allocations: 10.64 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.8725, allocations: 18.39 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8726, allocations: 19.25 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004942/0.8731, allocations: 313 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004115/0.8735, allocations: 344.1 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001735/0.8737, allocations: 59.7 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.8737, allocations: 106.9 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of Backend: time 4.31e-07/0.8737, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.8743, allocations: 260.2 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004756/0.8748, allocations: 0.6651 MB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of Templates: time 0.004462/0.8792, allocations: 1.524 MB / 1.097 GB, free: 32 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches