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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001119/0.001119, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001259/0.001259, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 69.92 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3619, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002724/0.3647, allocations: 1.479 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.3654, allocations: 446.7 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3654, allocations: 0 / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.3655, allocations: 3.938 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.3656, allocations: 15.92 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.3657, allocations: 27.91 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.3658, allocations: 47.84 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3659, allocations: 12 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.366, allocations: 23.92 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.3661, allocations: 23.97 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3661, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.3661, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.3661, allocations: 11.98 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.3662, allocations: 27.86 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.454e-05/0.3663, allocations: 39.89 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3663, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3663, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3663, allocations: 3.938 kB / 1.029 GB, free: 15.89 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.0005114/0.3668, allocations: 363.3 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3669, allocations: 8.031 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.3669, allocations: 4.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3671, allocations: 180.2 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3671, allocations: 384 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3671, allocations: 8.375 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3672, allocations: 61.94 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3672, allocations: 3.984 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3672, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3673, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.3673, allocations: 27.98 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3678, allocations: 300.7 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3679, allocations: 54.59 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.368, allocations: 20.91 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.368, allocations: 4 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3681, allocations: 79.27 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3681, allocations: 4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002318/0.3684, allocations: 101.6 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3684, allocations: 51.41 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3685, allocations: 113.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3686, allocations: 29.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.3686, allocations: 84.14 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3687, allocations: 31.62 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3687, allocations: 25.72 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3688, allocations: 326.8 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.3689, allocations: 19.98 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.369, allocations: 39.44 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.369, allocations: 71.3 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3691, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.3692, allocations: 97.55 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3692, allocations: 8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3692, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3693, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.3693, allocations: 8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3693, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.3694, allocations: 15.95 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.3694, allocations: 8 kB / 1.031 GB, free: 13.53 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.202e-05/0.3695, allocations: 131.1 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3695, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.3696, allocations: 11.95 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3696, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3696, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3696, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.37, allocations: 354.7 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.37, allocations: 4.094 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.37, allocations: 3.938 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.37, allocations: 8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.37, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.37, allocations: 3.938 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3701, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3702, allocations: 179.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3703, allocations: 88.95 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3703, allocations: 7.984 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.3704, allocations: 7.938 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3704, allocations: 11.98 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3704, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.3705, allocations: 91.48 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3705, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002279/0.3707, allocations: 16 kB / 1.032 GB, free: 12.53 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.0001014/0.3708, allocations: 99.23 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.371, allocations: 51.92 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.371, allocations: 4.062 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.423e-05/0.371, allocations: 31.92 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3713, allocations: 11.94 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.3717, allocations: 153.6 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.372, allocations: 0.6809 MB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.372, allocations: 4 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.372, allocations: 19.42 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.372, allocations: 3.938 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002701/0.3747, allocations: 0.7687 MB / 1.034 GB, free: 10.64 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches