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.001332/0.001332, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001454/0.001454, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.949/2.949, allocations: 0.49 GB / 0.7923 GB, free: 1.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 60.19 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9681/0.9702, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002286/0.9724, allocations: 1.539 MB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.9732, allocations: 0.524 MB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.9732, allocations: 0 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.9733, allocations: 15.19 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.9734, allocations: 18.67 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.9736, allocations: 39.45 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.9738, allocations: 88.33 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.9739, allocations: 20.11 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.974, allocations: 40.19 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.9741, allocations: 45.34 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.9741, allocations: 5.938 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.9741, allocations: 9.094 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.9742, allocations: 18.22 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.9742, allocations: 31.12 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.9743, allocations: 81.69 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9743, allocations: 7.422 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.183e-06/0.9743, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.9744, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 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.0005909/0.9749, allocations: 455.7 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.975, allocations: 12.14 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.9751, allocations: 18.8 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.9753, allocations: 191.2 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.9753, allocations: 6.969 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.9753, allocations: 10.47 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.9756, allocations: 98.69 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.9756, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.9756, allocations: 6.953 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9756, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.9759, allocations: 72.94 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.9763, allocations: 343.7 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.9766, allocations: 74.55 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.9768, allocations: 53.84 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.9768, allocations: 0 / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.977, allocations: 109.6 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.977, allocations: 0 / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005608/0.9776, allocations: 211.1 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.9776, allocations: 79.92 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.9777, allocations: 138.2 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.9777, allocations: 33.64 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.9777, allocations: 97.53 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.9777, allocations: 26.02 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.9778, allocations: 26 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.9778, allocations: 321 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.978, allocations: 55.36 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.9781, allocations: 48.67 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.9784, allocations: 165.2 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9784, allocations: 0 / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003696/0.9788, allocations: 216.2 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.9788, allocations: 60.55 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.9788, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9788, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.9789, allocations: 18.47 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9789, allocations: 2.75 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.9791, allocations: 19.41 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9791, allocations: 6.719 kB / 1.327 GB, free: 21.08 MB / 1.061 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 7.622e-05/0.9792, allocations: 154.6 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.9792, allocations: 13.92 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.9792, allocations: 8.719 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9792, allocations: 3.094 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9792, allocations: 4 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9792, allocations: 0 / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.9797, allocations: 439.9 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9797, allocations: 0 / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.9798, allocations: 13.12 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9798, allocations: 0 / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9798, allocations: 1.844 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.9798, allocations: 8.438 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9798, allocations: 0 / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.9803, allocations: 269.6 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.9803, allocations: 87.62 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.9803, allocations: 5.797 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.9805, allocations: 16.36 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9806, allocations: 23.08 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.9806, allocations: 2.438 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.9806, allocations: 113.2 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9806, allocations: 0 / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002374/0.9809, allocations: 16.59 kB / 1.328 GB, free: 20.12 MB / 1.061 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.0001062/0.981, allocations: 107.3 kB / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.9814, allocations: 216 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9814, allocations: 0.5 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.9816, allocations: 114.1 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.9819, allocations: 11.59 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.9825, allocations: 234.8 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.9827, allocations: 0.697 MB / 1.33 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.9827, allocations: 19.16 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9827, allocations: 0.5 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of Templates: time 0.003411/0.9861, allocations: 1.295 MB / 1.331 GB, free: 18.8 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.750838253996335]