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.000949/0.000949, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001032/0.001032, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9146/0.9146, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.067/2.067, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.713e-06/1.713e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.688e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002766/0.002793, allocations: 1.603 MB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.003709, allocations: 0.4957 MB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.003778, allocations: 4 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003888, allocations: 3.938 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.003947, allocations: 13 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.00423, allocations: 47.81 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.00441, allocations: 88.84 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.004519, allocations: 11.98 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.004732, allocations: 67.75 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.004807, allocations: 24.62 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.004836, allocations: 8 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.004883, allocations: 8.719 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.004926, allocations: 15.92 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.004982, allocations: 31.78 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005145, allocations: 63.73 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005148, allocations: 0 / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005149, allocations: 0 / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.005153, allocations: 4 kB / 0.8806 GB, free: 3.805 MB / 0.8386 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.0008752/0.006029, allocations: 467.7 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.006071, allocations: 8.031 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.006247, allocations: 20.89 kB / 0.8811 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.006443, allocations: 145.8 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006458, allocations: 4.375 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.006478, allocations: 4.375 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.006724, allocations: 116.6 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.006736, allocations: 5.156 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.00675, allocations: 4.359 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.006759, allocations: 5.062 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.006843, allocations: 53.62 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.007322, allocations: 308.8 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.007427, allocations: 76.78 kB / 0.8818 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.007476, allocations: 58.47 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.007492, allocations: 4 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.007618, allocations: 106.7 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.00762, allocations: 2.812 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002416/0.007861, allocations: 194.7 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.007898, allocations: 85.03 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.007987, allocations: 192.7 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.008, allocations: 29.7 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.008063, allocations: 146.8 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.008078, allocations: 15.89 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.008116, allocations: 33.09 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.008223, allocations: 0.4923 MB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.008281, allocations: 75.39 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.008324, allocations: 71.39 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.111e-05/0.008405, allocations: 124.8 kB / 0.8833 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008407, allocations: 0.625 kB / 0.8833 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.008564, allocations: 222 kB / 0.8836 GB, free: 464 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.008597, allocations: 67.34 kB / 0.8836 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.008602, allocations: 0 / 0.8836 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008615, allocations: 0 / 0.8836 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.0087, allocations: 16.48 kB / 0.8836 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.008705, allocations: 0 / 0.8836 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.008757, allocations: 20.62 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.008767, allocations: 4.781 kB / 0.8837 GB, free: 344 kB / 0.8386 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.889e-05/0.008846, allocations: 187.9 kB / 0.8838 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.008868, allocations: 23.88 kB / 0.8839 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.008896, allocations: 16.78 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008898, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.008902, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008905, allocations: 4 kB / 0.8839 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.009149, allocations: 404.7 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.009152, allocations: 3.984 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.009195, allocations: 8 kB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009197, allocations: 0 / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.009207, allocations: 4 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009209, allocations: 3.984 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.009211, allocations: 4 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009369, allocations: 299.2 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.009378, allocations: 7.953 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.009395, allocations: 8 kB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.00945, allocations: 11.98 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.009532, allocations: 27.89 kB / 0.8846 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.009541, allocations: 8 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.009585, allocations: 139.2 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009586, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001494/0.009735, allocations: 16 kB / 0.8848 GB, free: 15.08 MB / 0.8542 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 8.368e-05/0.009819, allocations: 103.2 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.01, allocations: 255.5 kB / 0.8851 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01, allocations: 4 kB / 0.8851 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.01007, allocations: 125.2 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01027, allocations: 15.94 kB / 0.8853 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.01078, allocations: 224.3 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.01081, allocations: 63.28 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01085, allocations: 15.98 kB / 0.8856 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.01088, allocations: 16.48 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of SimCode: time 6.02e-07/0.01088, allocations: 0 / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.002909/0.01379, allocations: 1.421 MB / 0.887 GB, free: 12.79 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.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: 5.226444994099438]