Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008567, allocations: 88.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 10.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.4461, allocations: 133.3 MB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.4464, allocations: 95.92 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00504/0.4515, allocations: 1.524 MB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.298e-06/0.4515, allocations: 0 / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.4516, allocations: 4 kB / 1.032 GB, free: 8.855 MB / 0.6823 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.0006647/0.4522, allocations: 454.3 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4523, allocations: 8.031 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.4523, allocations: 7.906 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.4526, allocations: 190.9 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4526, allocations: 4 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4526, allocations: 8 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.453, allocations: 101.6 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.453, allocations: 0 / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.453, allocations: 4 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.453, allocations: 3.938 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4533, allocations: 83.94 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.454, allocations: 352.7 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4543, allocations: 102.5 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4543, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.4546, allocations: 103.5 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.4546, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006737/0.4553, allocations: 239.1 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.4554, allocations: 85.06 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4555, allocations: 126.5 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4556, allocations: 29.7 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.4556, allocations: 99.98 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4556, allocations: 19.78 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.4557, allocations: 4 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4558, allocations: 322.8 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.456, allocations: 51.97 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4561, allocations: 55.95 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.4563, allocations: 104 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4564, allocations: 0 / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004342/0.4568, allocations: 228.9 kB / 1.034 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.4569, allocations: 59.41 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.4569, allocations: 0 / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4569, allocations: 0 / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4571, allocations: 27.97 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4571, allocations: 7.891 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4572, allocations: 27.89 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4572, allocations: 0 / 1.035 GB, free: 5.727 MB / 0.6823 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 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.4574, allocations: 147.8 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.4574, allocations: 4 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.4574, allocations: 16.72 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4575, allocations: 3.938 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4575, allocations: 0 / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4575, allocations: 3.953 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.4581, allocations: 452 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4581, allocations: 3.938 kB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.4582, allocations: 23.98 kB / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4582, allocations: 0 / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.4582, allocations: 7.984 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4583, allocations: 3.938 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4583, allocations: 3.953 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.4587, allocations: 281.1 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.4588, allocations: 89.02 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4588, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.459, allocations: 19.98 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4591, allocations: 23.92 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4591, allocations: 11.98 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.4592, allocations: 101.9 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4592, allocations: 0 / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002317/0.4594, allocations: 20 kB / 1.036 GB, free: 4.418 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.4596, allocations: 103.7 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.4601, allocations: 242.7 kB / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4601, allocations: 0 / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4603, allocations: 123.3 kB / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4605, allocations: 7 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.4611, allocations: 217 kB / 1.036 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4614, allocations: 0.7004 MB / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.4615, allocations: 15.84 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.4615, allocations: 11.44 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of SimCode: time 1.943e-06/0.4616, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of Templates: time 0.003522/0.4651, allocations: 1.108 MB / 1.038 GB, free: 1.852 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches