Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.5 MB / 257 MB, free: 6.867 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.001088/0.001088, allocations: 172.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0009952/0.0009951, allocations: 92.45 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.485e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.126, allocations: 132.6 MB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.127, allocations: 75.64 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003033/1.13, allocations: 1.092 MB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/1.13, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.13, allocations: 0 / 1.016 GB, free: 4.23 MB / 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.0004866/1.13, allocations: 350 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.13, allocations: 8.031 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/1.13, allocations: 11.89 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.131, allocations: 178.9 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.131, allocations: 4 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.131, allocations: 4 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.247e-05/1.131, allocations: 23.8 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.131, allocations: 46.19 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.131, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.131, allocations: 2.625 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/1.131, allocations: 7.938 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/1.132, allocations: 276.6 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.132, allocations: 50.23 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/1.132, allocations: 24.34 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/1.132, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/1.132, allocations: 79.23 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/1.132, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002068/1.132, allocations: 69.31 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.132, allocations: 55.41 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.132, allocations: 104.5 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/1.132, allocations: 33.58 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.132, allocations: 80.14 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/1.132, allocations: 23.22 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/1.133, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.133, allocations: 318.7 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/1.133, allocations: 15.56 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/1.133, allocations: 35.06 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/1.133, allocations: 24.09 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.133, allocations: 7.938 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000131/1.133, allocations: 81.23 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.133, allocations: 7.938 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.133, allocations: 4 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.133, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/1.133, allocations: 8 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.133, allocations: 4 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/1.133, allocations: 11.89 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.133, allocations: 11.89 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.518e-05/1.133, allocations: 117.5 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/1.133, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/1.133, allocations: 12.28 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.133, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.133, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/1.133, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/1.134, allocations: 342.1 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.134, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/1.134, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.134, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.134, allocations: 3.984 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.134, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.134, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/1.134, allocations: 173.3 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/1.134, allocations: 85.02 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/1.134, allocations: 8.047 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/1.134, allocations: 8 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/1.134, allocations: 7.984 kB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.134, allocations: 0 / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.564e-05/1.134, allocations: 87.14 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002167/1.135, allocations: 12 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001489/1.135, allocations: 107.1 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.135, allocations: 47.69 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.135, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/1.135, allocations: 19.81 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.135, allocations: 12.28 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/1.136, allocations: 111.3 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.136, allocations: 0.6846 MB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.41e-05/1.136, allocations: 11.94 kB / 1.019 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/1.136, allocations: 11.81 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.136, allocations: 3.938 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of Templates: time 0.002766/1.139, allocations: 0.6368 MB / 1.02 GB, free: 15.65 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Examples_OffTimer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches