Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 405.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 167.4 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.724/1.724, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 103.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3465, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5478, allocations: 149.9 MB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.548, allocations: 71.95 kB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003039/0.5511, allocations: 1.133 MB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.791e-06/0.5511, allocations: 3.984 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.5511, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 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.0005029/0.5516, allocations: 359.2 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5517, allocations: 12.03 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.5518, allocations: 3.906 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.5519, allocations: 179 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.552, allocations: 0 / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.552, allocations: 7.938 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.5521, allocations: 57.67 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5522, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5522, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5522, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.5523, allocations: 27.92 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.5528, allocations: 300.8 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.553, allocations: 54.59 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.553, allocations: 192 / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.5532, allocations: 75.31 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5532, allocations: 0 / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0002513/0.5535, allocations: 105.6 kB / 1.372 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.5535, allocations: 55.41 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.5536, allocations: 97 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5536, allocations: 25.7 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.5537, allocations: 99.97 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.5538, allocations: 19.73 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.5538, allocations: 4 kB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5539, allocations: 318.8 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.554, allocations: 12 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.554, allocations: 51.36 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.5541, allocations: 24.17 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5541, allocations: 384 / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000141/0.5542, allocations: 93.52 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5543, allocations: 8 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5543, allocations: 0 / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5543, allocations: 3.938 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.5544, allocations: 32.02 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5544, allocations: 3.953 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.5545, allocations: 8 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.5545, allocations: 0 / 1.372 GB, free: 8.754 MB / 0.8698 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 () * Number of clocked 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.936e-05/0.5546, allocations: 122.5 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.5546, allocations: 3.906 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.5546, allocations: 7.969 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.5546, allocations: 4 kB / 1.372 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.5547, allocations: 4 kB / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5547, allocations: 3.953 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.5551, allocations: 358.5 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5551, allocations: 0 / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.5551, allocations: 7.984 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5551, allocations: 0 / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5551, allocations: 0 / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5551, allocations: 11.95 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5551, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.5553, allocations: 179.4 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.5554, allocations: 92.88 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.5554, allocations: 0 / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.5555, allocations: 8 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.5555, allocations: 15.94 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5556, allocations: 7.984 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.5556, allocations: 79.28 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.5556, allocations: 0 / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002116/0.5558, allocations: 16 kB / 1.373 GB, free: 7.75 MB / 0.8698 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 () * Number of clocked 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.0001197/0.556, allocations: 99.03 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.5561, allocations: 64.3 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5561, allocations: 0 / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/0.5562, allocations: 24.06 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.5564, allocations: 11.98 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.5568, allocations: 176.4 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5572, allocations: 0.6926 MB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.5572, allocations: 4 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.5572, allocations: 11.44 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5573, allocations: 0 / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of Templates: time 0.002664/0.5599, allocations: 0.6626 MB / 1.375 GB, free: 5.957 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches