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.001454/0.001454, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001016/0.001016, allocations: 161 kB / 23.82 MB, free: 0.75 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.9017/0.9017, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.847/1.847, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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.693e-06/1.693e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.896e-05, allocations: 7.125 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002851/0.00288, allocations: 1.59 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.003845, allocations: 0.4968 MB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.003909, allocations: 0.6562 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.004016, allocations: 7.922 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.004083, allocations: 12.69 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.004389, allocations: 48.81 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.004561, allocations: 87.7 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004665, allocations: 13.64 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.004881, allocations: 59.83 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.00496, allocations: 31.94 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.004986, allocations: 8 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.005033, allocations: 9.531 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.005073, allocations: 11.94 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.005131, allocations: 27.91 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.005296, allocations: 67.67 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.0053, allocations: 5.188 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.72e-07/0.0053, allocations: 0 / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.005305, allocations: 0 / 0.814 GB, free: 15.26 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.0006259/0.005931, allocations: 469.1 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.005973, allocations: 12.03 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.006141, allocations: 24.81 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.006324, allocations: 134.7 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.006338, allocations: 4.375 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.006355, allocations: 4.375 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.006603, allocations: 120.6 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006612, allocations: 0.7188 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.006625, allocations: 384 / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.006635, allocations: 4.656 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.006725, allocations: 53.62 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.007196, allocations: 309.7 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.007333, allocations: 84.78 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.007402, allocations: 53.31 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.007418, allocations: 8.75 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.007581, allocations: 106.7 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.007583, allocations: 0.9062 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003364/0.00792, allocations: 194.7 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.007969, allocations: 77.8 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.00809, allocations: 189.8 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.00811, allocations: 34.3 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.008179, allocations: 142.8 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.008201, allocations: 21.22 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.008261, allocations: 39.36 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.008395, allocations: 0.4884 MB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.008473, allocations: 77.14 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.008542, allocations: 75.39 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.008658, allocations: 116.7 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00866, allocations: 0 / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002499/0.00891, allocations: 220.3 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.008956, allocations: 68.61 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008961, allocations: 0 / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.008974, allocations: 0 / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.00909, allocations: 16.95 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009095, allocations: 320 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.009178, allocations: 14.25 kB / 0.817 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.009195, allocations: 7.984 kB / 0.817 GB, free: 11.8 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 0.000106/0.009301, allocations: 186.3 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.009328, allocations: 19.89 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.009359, allocations: 16.77 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009361, allocations: 3.375 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009365, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.009369, allocations: 3.984 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.009945, allocations: 412.7 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.009948, allocations: 4 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.01001, allocations: 11.98 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01002, allocations: 0 / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01003, allocations: 7.938 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.01003, allocations: 4 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01004, allocations: 0.9688 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.01029, allocations: 303.1 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.0103, allocations: 7.953 kB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.01033, allocations: 4.5 kB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01044, allocations: 12.55 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.01054, allocations: 20.53 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01055, allocations: 9.125 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.984e-05/0.01062, allocations: 141 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01062, allocations: 0 / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002825/0.0109, allocations: 20.8 kB / 0.8181 GB, free: 10.54 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 0.0001049/0.01101, allocations: 104 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.01128, allocations: 255.5 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01128, allocations: 0.9375 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.0114, allocations: 116.8 kB / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01172, allocations: 20.58 kB / 0.8186 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.01245, allocations: 234.7 kB / 0.8188 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.0125, allocations: 59.34 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.505e-05/0.01255, allocations: 13.02 kB / 0.8189 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.0126, allocations: 13.62 kB / 0.8189 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01261, allocations: 0 / 0.8189 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of Templates: time 0.00448/0.01708, allocations: 1.507 MB / 0.8204 GB, free: 8.152 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: 4.890325014013797]