Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001412/0.001412, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001535/0.001535, allocations: 219 kB / 23 MB, free: 4.918 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7707 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002126/0.002126, allocations: 65.7 kB / 1.118 GB, free: 41.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3324, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003417/0.3358, allocations: 1.53 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3369, allocations: 488.6 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.337, allocations: 3.938 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.345e-05/0.3371, allocations: 7.938 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.3372, allocations: 15.86 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.3375, allocations: 39.89 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3377, allocations: 87.77 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3378, allocations: 19.97 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.338, allocations: 43.78 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.338, allocations: 35.84 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3381, allocations: 4 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.3381, allocations: 12 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.3382, allocations: 19.97 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.3382, allocations: 35.8 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3384, allocations: 79.64 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3384, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3384, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3384, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 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.0007295/0.3392, allocations: 369.4 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3392, allocations: 12.03 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3393, allocations: 16.88 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3396, allocations: 142.3 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3396, allocations: 4.375 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3396, allocations: 8.375 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.34, allocations: 131.6 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.34, allocations: 0 / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.34, allocations: 0 / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.34, allocations: 4 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3403, allocations: 101.6 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.3408, allocations: 280.3 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.3412, allocations: 108.2 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3413, allocations: 82.58 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3414, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.3416, allocations: 133 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3416, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006788/0.3423, allocations: 266.6 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.3424, allocations: 85.11 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3425, allocations: 130.1 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3426, allocations: 33.7 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.3426, allocations: 92.12 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3427, allocations: 27.78 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3427, allocations: 33.7 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.343, allocations: 318.8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3432, allocations: 99.36 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3434, allocations: 107.4 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3437, allocations: 173.8 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3437, allocations: 0 / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000504/0.3442, allocations: 272.5 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.3443, allocations: 59.41 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3443, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3443, allocations: 4 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3444, allocations: 19.91 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3444, allocations: 4 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3445, allocations: 19.94 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3446, allocations: 4 kB / 1.289 GB, free: 6.188 MB / 0.9825 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.0001394/0.3447, allocations: 155.5 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3447, allocations: 7.953 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3448, allocations: 8.719 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3448, allocations: 4 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3448, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3448, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.3454, allocations: 409.8 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3454, allocations: 0 / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.3455, allocations: 19.97 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3455, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3455, allocations: 3.938 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.346, allocations: 302.8 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.346, allocations: 11.95 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.346, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3462, allocations: 19.97 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3463, allocations: 27.91 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3463, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.05e-05/0.3464, allocations: 109.1 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3464, allocations: 0 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002575/0.3466, allocations: 24 kB / 1.29 GB, free: 5.012 MB / 0.9825 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.0001329/0.3468, allocations: 103.2 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3473, allocations: 295.8 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3473, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.3475, allocations: 141 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3478, allocations: 18.64 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.3484, allocations: 262.7 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.3485, allocations: 79.27 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3485, allocations: 15.42 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3485, allocations: 0 / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.003187/0.3517, allocations: 1.305 MB / 1.292 GB, free: 2.695 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.326810816302896]