Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 192 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.16 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3396, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002794/0.3424, allocations: 1.526 MB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000653/0.3431, allocations: 446.8 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.3431, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3432, allocations: 11.92 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.3433, allocations: 11.92 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.3434, allocations: 15.98 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.3435, allocations: 43.92 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3436, allocations: 15.97 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.3437, allocations: 19.88 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.3437, allocations: 23.89 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3437, allocations: 4 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.3438, allocations: 4 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3438, allocations: 11.92 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.3438, allocations: 19.94 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.3439, allocations: 47.81 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3439, allocations: 4 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3439, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.344, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 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.000544/0.3445, allocations: 355.7 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3445, allocations: 12.03 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.3446, allocations: 0.9375 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3447, allocations: 176.2 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3448, allocations: 8.375 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3448, allocations: 8.375 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3449, allocations: 61.92 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3449, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3449, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3449, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.345, allocations: 23.98 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.3455, allocations: 300.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3456, allocations: 58.5 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3457, allocations: 24.95 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3457, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3459, allocations: 79.31 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3459, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002336/0.3461, allocations: 101.6 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3462, allocations: 55.41 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.3463, allocations: 105.8 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3463, allocations: 29.7 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.3463, allocations: 84.05 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3464, allocations: 27.64 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3464, allocations: 29.7 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3465, allocations: 326.7 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.3466, allocations: 19.98 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3466, allocations: 51.36 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.3467, allocations: 63.55 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3467, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001468/0.3469, allocations: 93.55 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3469, allocations: 8.031 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3469, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3469, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.347, allocations: 11.98 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.347, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3471, allocations: 15.97 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3471, allocations: 4 kB / 1.056 GB, free: 4.316 MB / 0.8106 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/0.3472, allocations: 125.7 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.3472, allocations: 8 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3473, allocations: 7.969 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3473, allocations: 4.375 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.3477, allocations: 358.3 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3477, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3477, allocations: 7.984 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3477, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3477, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3478, allocations: 7.938 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3478, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3479, allocations: 175.5 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.348, allocations: 88.95 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.348, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3481, allocations: 11.92 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.3482, allocations: 15.88 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3482, allocations: 7.984 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.3482, allocations: 83.28 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3482, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002264/0.3485, allocations: 16 kB / 1.057 GB, free: 3.309 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001004/0.3486, allocations: 95.25 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3487, allocations: 55.91 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3487, allocations: 64 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.3488, allocations: 27.94 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.349, allocations: 15.98 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.3494, allocations: 163.7 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3497, allocations: 0.693 MB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.3497, allocations: 4 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3498, allocations: 11.44 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of SimCode: time 6.51e-07/0.3498, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.002722/0.3525, allocations: 0.6811 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches