Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0007985/0.0007985, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001852, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001084/0.001084, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002217, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9426/0.9426, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08807/1.031, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.283/2.283, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2483/2.531, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.221e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002499/0.002522, allocations: 1.634 MB / 0.8199 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.00327, allocations: 0.5063 MB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.007338, allocations: 0 / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.197e-05/0.00741, allocations: 11.86 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/0.007462, allocations: 23.8 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.007656, allocations: 35.89 kB / 0.8205 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.007824, allocations: 91.7 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.00791, allocations: 11.92 kB / 0.8206 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.00811, allocations: 75.81 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.008184, allocations: 27.91 kB / 0.8207 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.008207, allocations: 8 kB / 0.8207 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.008269, allocations: 12 kB / 0.8207 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.008305, allocations: 8 kB / 0.8207 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.008345, allocations: 19.94 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.008483, allocations: 55.75 kB / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.008499, allocations: 0 / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.273e-06/0.008501, allocations: 0 / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.008519, allocations: 0 / 0.8208 GB, free: 392 kB / 0.7917 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.0005611/0.009081, allocations: 371.5 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.009114, allocations: 12.62 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.009283, allocations: 98.02 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.009439, allocations: 131.7 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.00945, allocations: 384 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.009462, allocations: 4.375 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.009636, allocations: 120.5 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.009644, allocations: 192 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.009652, allocations: 384 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.00966, allocations: 7.938 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.009711, allocations: 45.69 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.01002, allocations: 190.9 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.01011, allocations: 60.27 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.01015, allocations: 50.67 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.01016, allocations: 0 / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003165/0.01333, allocations: 109 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.01333, allocations: 0 / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001851/0.01351, allocations: 150.8 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.01355, allocations: 63.39 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.01363, allocations: 126.7 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.01364, allocations: 29.69 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.01369, allocations: 96.08 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.01371, allocations: 23.81 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.01376, allocations: 21.72 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.01384, allocations: 322.8 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.01389, allocations: 71.39 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.01393, allocations: 67.34 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.829e-05/0.01402, allocations: 124.7 kB / 0.8229 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01402, allocations: 4 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003982/0.01442, allocations: 188.3 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.01447, allocations: 59.39 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01447, allocations: 4 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.01448, allocations: 0 / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.01458, allocations: 15.98 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.01458, allocations: 3.938 kB / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.01464, allocations: 19.94 kB / 0.8232 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01465, allocations: 4 kB / 0.8232 GB, free: 13.52 MB / 0.8073 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.079e-05/0.01474, allocations: 146.4 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.01475, allocations: 15.92 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.01478, allocations: 8.781 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01478, allocations: 4 kB / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01478, allocations: 0 / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01479, allocations: 3.984 kB / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01499, allocations: 270.5 kB / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01499, allocations: 0 / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.01504, allocations: 19.92 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.01505, allocations: 7.891 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.01506, allocations: 8 kB / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01507, allocations: 0 / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01507, allocations: 0 / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01507, allocations: 0 / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.01521, allocations: 230.8 kB / 0.8239 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01523, allocations: 4 kB / 0.8239 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.01531, allocations: 11.98 kB / 0.8239 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.01537, allocations: 19.97 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.01539, allocations: 8 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.01541, allocations: 23.09 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01541, allocations: 0 / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001803/0.01559, allocations: 20 kB / 0.824 GB, free: 12.65 MB / 0.8073 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.0001167/0.01571, allocations: 88.41 kB / 0.8241 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01589, allocations: 240.7 kB / 0.8243 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.0159, allocations: 4 kB / 0.8243 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.098e-05/0.01597, allocations: 106 kB / 0.8244 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.01918, allocations: 23.92 kB / 0.8244 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.0201, allocations: 237.1 kB / 0.8247 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.02015, allocations: 71.22 kB / 0.8247 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.02019, allocations: 4 kB / 0.8247 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.02027, allocations: 67.36 kB / 0.8248 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.02027, allocations: 0 / 0.8248 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.00667/0.02694, allocations: 1.46 MB / 0.8262 GB, free: 10.29 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.ref.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.962808284908533]