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.001424/0.001424, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001084/0.001084, allocations: 163.3 kB / 24.86 MB, free: 9.211 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.9479/0.9479, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784/1.784, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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.223e-06/1.223e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.223e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.005493/0.005516, allocations: 1.58 MB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.006272, allocations: 0.4893 MB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.006338, allocations: 3.938 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.006435, allocations: 8.812 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.006484, allocations: 16.88 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.006712, allocations: 43.81 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.006856, allocations: 93.2 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.006944, allocations: 11.97 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.01011, allocations: 59.83 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.01018, allocations: 27.95 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.0102, allocations: 9.938 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.01024, allocations: 8 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.01028, allocations: 19.92 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.01032, allocations: 23.91 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.01045, allocations: 67.73 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01045, allocations: 1.562 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01045, allocations: 0 / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.01045, allocations: 0 / 0.8152 GB, free: 15 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.0004747/0.01093, allocations: 472.8 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01096, allocations: 8.031 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.0111, allocations: 20.89 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.01125, allocations: 141 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.01126, allocations: 4.906 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.01127, allocations: 9.375 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.01142, allocations: 108.5 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.01142, allocations: 0.875 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.01143, allocations: 4.375 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.01144, allocations: 8.453 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.01148, allocations: 49.62 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.01178, allocations: 281.7 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.01187, allocations: 72.84 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.01191, allocations: 54.47 kB / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.01192, allocations: 0 / 0.8164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.01204, allocations: 107.7 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.01204, allocations: 3.938 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002058/0.01225, allocations: 178.7 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.01229, allocations: 85.89 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.01237, allocations: 200.2 kB / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01239, allocations: 26.55 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.01244, allocations: 142.8 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.01246, allocations: 25.12 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.01249, allocations: 31.36 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01261, allocations: 0.4962 MB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.01265, allocations: 64.23 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.01269, allocations: 71.39 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.01277, allocations: 108.8 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01277, allocations: 4.875 kB / 0.8178 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000153/0.01292, allocations: 208.3 kB / 0.818 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.01296, allocations: 68.95 kB / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01297, allocations: 0 / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.01298, allocations: 0 / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.01305, allocations: 15.94 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01305, allocations: 5.172 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.0131, allocations: 11.94 kB / 0.8181 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01311, allocations: 8 kB / 0.8181 GB, free: 11.62 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 8.739e-05/0.0132, allocations: 189.4 kB / 0.8183 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.01321, allocations: 19.89 kB / 0.8183 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.01323, allocations: 12.78 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01324, allocations: 0 / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.01324, allocations: 0 / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01324, allocations: 3.984 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.01346, allocations: 373.4 kB / 0.8187 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01346, allocations: 4.438 kB / 0.8187 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.01349, allocations: 13.33 kB / 0.8187 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01349, allocations: 4 kB / 0.8187 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.0135, allocations: 0 / 0.8187 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.0135, allocations: 4 kB / 0.8187 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0135, allocations: 1.094 kB / 0.8187 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01365, allocations: 299.2 kB / 0.819 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.01366, allocations: 7.891 kB / 0.819 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.01368, allocations: 12.59 kB / 0.819 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.01373, allocations: 14.45 kB / 0.8191 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.0138, allocations: 19.91 kB / 0.8191 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.0138, allocations: 4 kB / 0.8191 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.01385, allocations: 139.2 kB / 0.8192 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01385, allocations: 0 / 0.8192 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001399/0.01399, allocations: 16 kB / 0.8192 GB, free: 10.42 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 8.904e-05/0.01408, allocations: 114.6 kB / 0.8193 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.0145, allocations: 235.6 kB / 0.8196 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0145, allocations: 0 / 0.8196 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.01456, allocations: 120.7 kB / 0.8197 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.01474, allocations: 18 kB / 0.8197 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.01516, allocations: 222.2 kB / 0.8199 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.0152, allocations: 63.34 kB / 0.82 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.01523, allocations: 2.219 kB / 0.82 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.0153, allocations: 90.19 kB / 0.8201 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of SimCode: time 4.9e-07/0.0153, allocations: 0 / 0.8201 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.002981/0.01828, allocations: 1.569 MB / 0.8216 GB, free: 7.93 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] 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","",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.001486209221184]