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.0009632/0.0009632, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001096/0.001096, allocations: 161.4 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.9315/0.9315, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.228e-05, allocations: 7.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003/0.003032, allocations: 1.582 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.003977, allocations: 0.5051 MB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.00405, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.004235, allocations: 9.281 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.004303, allocations: 19.86 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.00463, allocations: 43.83 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004814, allocations: 88.75 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004926, allocations: 11.98 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.005151, allocations: 61.44 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.005232, allocations: 23.91 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.005258, allocations: 8 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.005309, allocations: 12 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.005356, allocations: 20.53 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.005417, allocations: 19.98 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005585, allocations: 68.73 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005588, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.00559, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.005595, allocations: 1.562 kB / 0.7895 GB, free: 10.04 MB / 0.7448 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.0006511/0.006246, allocations: 475.6 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.006291, allocations: 12.03 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.006473, allocations: 18.7 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.006678, allocations: 138.9 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.006697, allocations: 8.375 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.006714, allocations: 4.375 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.006967, allocations: 126.9 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.006976, allocations: 192 / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.00699, allocations: 384 / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.007001, allocations: 3.938 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.007082, allocations: 49.69 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.007535, allocations: 308.2 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.00765, allocations: 74.41 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.007699, allocations: 57.44 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.007714, allocations: 4 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.007985, allocations: 110.8 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.007987, allocations: 5.312 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002593/0.008246, allocations: 194.7 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.008293, allocations: 85.09 kB / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.008384, allocations: 183.7 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.008401, allocations: 33.7 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.008464, allocations: 142.8 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.008479, allocations: 19.84 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.008522, allocations: 35.38 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.008642, allocations: 0.4891 MB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.0087, allocations: 75.39 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.008745, allocations: 76.17 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.008824, allocations: 116.8 kB / 0.7922 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008826, allocations: 1.938 kB / 0.7922 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.008995, allocations: 224.3 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.009033, allocations: 59.41 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.009039, allocations: 0 / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.009052, allocations: 0 / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.009139, allocations: 22.2 kB / 0.7925 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009145, allocations: 0 / 0.7925 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.009195, allocations: 23.86 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.009206, allocations: 0 / 0.7926 GB, free: 6.578 MB / 0.7448 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.877e-05/0.009294, allocations: 194.7 kB / 0.7927 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.009311, allocations: 15.88 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.009335, allocations: 17.5 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009338, allocations: 0 / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009341, allocations: 0.5312 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009346, allocations: 5.641 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.009593, allocations: 400.8 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009596, allocations: 3.984 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.009633, allocations: 8 kB / 0.7932 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009636, allocations: 0.5312 kB / 0.7932 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.009648, allocations: 7.984 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.00965, allocations: 5.312 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009651, allocations: 0 / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.009814, allocations: 303.2 kB / 0.7935 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.009824, allocations: 9.109 kB / 0.7935 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.00984, allocations: 0 / 0.7935 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.009896, allocations: 15.98 kB / 0.7935 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.009984, allocations: 24.86 kB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.009993, allocations: 4 kB / 0.7935 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.01004, allocations: 143.2 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001551/0.0102, allocations: 23.95 kB / 0.7937 GB, free: 5.332 MB / 0.7448 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 9.923e-05/0.0103, allocations: 100.5 kB / 0.7938 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.0105, allocations: 260.5 kB / 0.794 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0105, allocations: 0 / 0.794 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.01058, allocations: 121.6 kB / 0.7941 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01078, allocations: 21.7 kB / 0.7942 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.01162, allocations: 238.7 kB / 0.7944 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.01166, allocations: 66.78 kB / 0.7945 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.0117, allocations: 7.984 kB / 0.7945 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.01174, allocations: 16.48 kB / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01174, allocations: 0 / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.003505/0.01524, allocations: 1.497 MB / 0.7959 GB, free: 2.938 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] 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","",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.794328785967082]