Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001913/0.001913, allocations: 191.8 kB / 16.14 MB, free: 6.734 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.75 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3637, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002183/0.3659, allocations: 0.7973 MB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3676, allocations: 1.291 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.3677, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.3677, allocations: 7.922 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.3678, allocations: 7.922 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.3685, allocations: 229.6 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3687, allocations: 231.5 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3688, allocations: 20.22 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3689, allocations: 91.8 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3691, allocations: 79.7 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.3691, allocations: 12 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.3692, allocations: 31.92 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.3693, allocations: 23.97 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3694, allocations: 83.73 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3696, allocations: 223.6 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3697, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3697, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3697, allocations: 0 / 1.055 GB, free: 5.703 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007597/0.3704, allocations: 0.4907 MB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3705, allocations: 12.02 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.3706, allocations: 16.84 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.3712, allocations: 252.3 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3712, allocations: 16.36 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3713, allocations: 16.38 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3715, allocations: 135.8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3715, allocations: 3.938 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3716, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3716, allocations: 11.98 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3717, allocations: 67.88 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.3725, allocations: 0.5085 MB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3728, allocations: 157.2 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.3729, allocations: 61.69 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.3729, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.3733, allocations: 216.8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3734, allocations: 0 / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.000561/0.3739, allocations: 304.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.374, allocations: 89.42 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3741, allocations: 129.9 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.3742, allocations: 49.69 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3742, allocations: 88.86 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3743, allocations: 55.34 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3744, allocations: 77.61 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3746, allocations: 322.8 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3747, allocations: 92.17 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.375, allocations: 152.2 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3753, allocations: 254.7 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3753, allocations: 0 / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005577/0.3759, allocations: 356.6 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.3759, allocations: 67.39 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.376, allocations: 4.219 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.376, allocations: 4 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.3761, allocations: 19.94 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3761, allocations: 11.86 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.3764, allocations: 63.78 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.3765, allocations: 23.98 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001389/0.3766, allocations: 148 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3767, allocations: 15.89 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3767, allocations: 12.5 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3767, allocations: 4 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3767, allocations: 3.938 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3767, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.3773, allocations: 0.6186 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3774, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.3774, allocations: 11.94 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3774, allocations: 3.938 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3774, allocations: 7.984 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3775, allocations: 0 / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3775, allocations: 0 / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.3779, allocations: 432.3 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.3779, allocations: 92.86 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.378, allocations: 15.92 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3781, allocations: 7.984 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.3782, allocations: 19.97 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.3782, allocations: 19.98 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.3783, allocations: 91.27 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3783, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003468/0.3787, allocations: 59.98 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001879/0.3788, allocations: 115.2 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.3793, allocations: 342.5 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3793, allocations: 0 / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3795, allocations: 123.9 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3799, allocations: 40.09 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.3804, allocations: 290.2 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3807, allocations: 0.7089 MB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.3808, allocations: 13.55 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.3808, allocations: 31.36 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3808, allocations: 3.938 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.005421/0.3863, allocations: 2.487 MB / 1.065 GB, free: 11.44 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches