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.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 170.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009208/0.0009208, allocations: 96.92 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.257e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2168, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7912/1.008, allocations: 133.2 MB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.008, allocations: 94.55 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004692/1.013, allocations: 1.521 MB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.013, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.013, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 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.0005747/1.014, allocations: 433.5 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.014, allocations: 12.03 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/1.014, allocations: 11.91 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/1.014, allocations: 192.2 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.014, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/1.014, allocations: 10.69 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/1.014, allocations: 72.41 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.014, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.014, allocations: 7.625 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.014, allocations: 3.938 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/1.014, allocations: 38.11 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/1.015, allocations: 337.1 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/1.015, allocations: 56.41 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/1.015, allocations: 38.48 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/1.015, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/1.015, allocations: 84.98 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/1.015, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002817/1.016, allocations: 135 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.016, allocations: 85.09 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.016, allocations: 112.7 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/1.016, allocations: 40.88 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/1.016, allocations: 95.67 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/1.016, allocations: 19.38 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/1.016, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.016, allocations: 318.3 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/1.016, allocations: 33.98 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/1.016, allocations: 27.19 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/1.016, allocations: 74.33 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.016, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002328/1.017, allocations: 179.1 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/1.017, allocations: 73.14 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.017, allocations: 0 / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.017, allocations: 0 / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.017, allocations: 19.92 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.017, allocations: 11.89 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/1.017, allocations: 23.89 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/1.017, allocations: 7.984 kB / 1.026 GB, free: 13.59 MB / 0.6511 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 () * 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 9.157e-05/1.017, allocations: 134.2 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/1.017, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/1.017, allocations: 15.81 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.017, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.017, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.017, allocations: 11.92 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/1.018, allocations: 393.3 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.018, allocations: 7.938 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/1.018, allocations: 15.98 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.018, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.018, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.018, allocations: 7.938 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.018, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/1.018, allocations: 235.9 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/1.018, allocations: 87.89 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.018, allocations: 0 / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.018, allocations: 19.97 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.018, allocations: 30.42 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/1.018, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.234e-05/1.019, allocations: 103.9 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.019, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002215/1.019, allocations: 31.44 kB / 1.027 GB, free: 12.46 MB / 0.6511 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) * 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.0001345/1.019, allocations: 103.4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002346/1.019, allocations: 184.6 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.019, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.019, allocations: 96.89 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.019, allocations: 11.98 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/1.02, allocations: 124.5 kB / 1.027 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/1.02, allocations: 0.6965 MB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.023e-05/1.02, allocations: 11.84 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/1.02, allocations: 11.44 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.02, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.003162/1.023, allocations: 1.113 MB / 1.029 GB, free: 10.12 MB / 0.6511 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