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.01049/0.01049, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.002179/0.002179, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.913/2.913, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3471, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002845/0.35, allocations: 1.482 MB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.3508, allocations: 434.8 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.3508, allocations: 0 / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.3509, allocations: 7.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.351, allocations: 7.922 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3511, allocations: 23.91 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.3512, allocations: 51.91 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3514, allocations: 8 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.3514, allocations: 23.92 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.3515, allocations: 19.91 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3515, allocations: 4 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.3516, allocations: 4 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.3516, allocations: 23.86 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3516, allocations: 23.92 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3518, allocations: 39.83 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3518, allocations: 4 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3518, allocations: 0 / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3518, allocations: 3.938 kB / 1.21 GB, free: 7.508 MB / 0.9669 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.0005455/0.3523, allocations: 359.4 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3524, allocations: 12.62 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3524, allocations: 8.844 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3526, allocations: 172.3 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3526, allocations: 4.375 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3526, allocations: 8.375 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3528, allocations: 62.42 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3528, allocations: 0 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3528, allocations: 0 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3528, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.3529, allocations: 19.98 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3534, allocations: 308.6 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3535, allocations: 54.56 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.3536, allocations: 24.94 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3536, allocations: 0 / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3538, allocations: 79.41 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3538, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002229/0.354, allocations: 97.53 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3541, allocations: 63.39 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.3542, allocations: 105.8 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3542, allocations: 29.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.3543, allocations: 88.5 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3543, allocations: 23.66 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3543, allocations: 33.7 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3545, allocations: 318.8 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.3545, allocations: 23.92 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.3546, allocations: 39.42 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.3546, allocations: 63.38 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3547, allocations: 4 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001462/0.3548, allocations: 109.5 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3548, allocations: 5.562 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3548, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3549, allocations: 4 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.3549, allocations: 8 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3549, allocations: 3.984 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.355, allocations: 4 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.355, allocations: 8 kB / 1.212 GB, free: 5.156 MB / 0.9669 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 8.992e-05/0.3551, allocations: 125.8 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.3551, allocations: 7.906 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.3552, allocations: 11.95 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3552, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3552, allocations: 4 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3552, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.3556, allocations: 354.4 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3556, allocations: 0 / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.3556, allocations: 8 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3556, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3557, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3557, allocations: 11.86 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/0.3557, allocations: 4 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3559, allocations: 179.4 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3559, allocations: 85.03 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3559, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.356, allocations: 16.41 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3561, allocations: 7.984 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3561, allocations: 7.938 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.3561, allocations: 91.25 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3561, allocations: 0 / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002242/0.3564, allocations: 12 kB / 1.213 GB, free: 4.145 MB / 0.9669 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.0001019/0.3565, allocations: 100.6 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3566, allocations: 59.92 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3566, allocations: 0 / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.3567, allocations: 27.92 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.357, allocations: 8 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3574, allocations: 165.3 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3577, allocations: 0.6846 MB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.3577, allocations: 12.05 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3578, allocations: 11.44 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3578, allocations: 0 / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.003042/0.3608, allocations: 0.8108 MB / 1.215 GB, free: 2.219 MB / 0.9669 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