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.001814/0.001814, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002409/0.002409, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.46/1.46, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.878/2.878, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.463e-06/1.463e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.146e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003308/0.00334, allocations: 1.533 MB / 0.8123 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004541, allocations: 0.4963 MB / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.004621, allocations: 0 / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.004751, allocations: 11.88 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.004817, allocations: 13.05 kB / 0.8128 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.005108, allocations: 39.94 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.005327, allocations: 93.23 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00543, allocations: 11.98 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.005661, allocations: 55.83 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.005756, allocations: 35.89 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.005786, allocations: 10.59 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.005838, allocations: 11.98 kB / 0.8131 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.00588, allocations: 7.938 kB / 0.8131 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.00595, allocations: 27.97 kB / 0.8131 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.006147, allocations: 83.69 kB / 0.8132 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.006154, allocations: 4 kB / 0.8132 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006155, allocations: 0 / 0.8132 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.006161, allocations: 0.7188 kB / 0.8132 GB, free: 15.74 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.0008237/0.006984, allocations: 383.5 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.007022, allocations: 8.031 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.007221, allocations: 20.89 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.007493, allocations: 133.7 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.007507, allocations: 1.031 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.007527, allocations: 8.375 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.007897, allocations: 128.8 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.007907, allocations: 1.344 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.007922, allocations: 384 / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.007929, allocations: 7.938 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.008266, allocations: 103 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.008877, allocations: 265.5 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.009219, allocations: 105 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.00943, allocations: 83.98 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.009445, allocations: 0 / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.00979, allocations: 135 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.009791, allocations: 0 / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008115/0.0106, allocations: 269.8 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.01068, allocations: 85.11 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01083, allocations: 132.1 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.01086, allocations: 25.7 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.01095, allocations: 100.1 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.01097, allocations: 19.8 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.01104, allocations: 29.7 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01123, allocations: 324.6 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.01147, allocations: 103.4 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.0117, allocations: 111.8 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.01208, allocations: 164.4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01209, allocations: 0 / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006976/0.01278, allocations: 284.9 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.01285, allocations: 63.39 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01285, allocations: 0.6562 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01287, allocations: 3.938 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01301, allocations: 19.67 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01301, allocations: 320 / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.01315, allocations: 19.98 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01317, allocations: 3.984 kB / 0.8162 GB, free: 12.36 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 0.0001409/0.01331, allocations: 143.5 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01334, allocations: 15.89 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.01339, allocations: 16.77 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.0134, allocations: 9.844 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0134, allocations: 0 / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0134, allocations: 0 / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.01409, allocations: 398.5 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.0141, allocations: 4 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.0142, allocations: 17.05 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0142, allocations: 0 / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01421, allocations: 4 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01422, allocations: 1.125 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01422, allocations: 4 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.0148, allocations: 311.8 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01482, allocations: 3.953 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01484, allocations: 4.781 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.01501, allocations: 12.58 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.01513, allocations: 21.31 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.01515, allocations: 8 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001085/0.01526, allocations: 99.25 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01526, allocations: 0 / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000268/0.01553, allocations: 25.83 kB / 0.8172 GB, free: 11.2 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 0.0001525/0.01568, allocations: 99.25 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006105/0.01629, allocations: 301.1 kB / 0.8176 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01629, allocations: 0 / 0.8176 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.01657, allocations: 139.5 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01688, allocations: 17.62 kB / 0.8178 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.01753, allocations: 230.2 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.01763, allocations: 80.94 kB / 0.8181 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.961e-05/0.0177, allocations: 15.97 kB / 0.8181 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.01778, allocations: 24.48 kB / 0.8181 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.01778, allocations: 3.938 kB / 0.8181 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.005203/0.02299, allocations: 1.411 MB / 0.8195 GB, free: 8.824 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.649329518084414]