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.001334/0.001334, allocations: 104.6 kB / 16.41 MB, free: 6.5 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.001301/0.001301, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.487/2.487, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 71.88 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7432, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001996/0.7453, allocations: 0.7389 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.7471, allocations: 1.264 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.7472, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.7472, allocations: 3.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.7474, allocations: 23.78 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007563/0.7482, allocations: 246.7 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.7485, allocations: 271.5 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7486, allocations: 16.22 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.7488, allocations: 103.8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.749, allocations: 95.72 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.749, allocations: 24 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.7492, allocations: 35.98 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.7492, allocations: 31.91 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.7493, allocations: 91.73 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.7496, allocations: 235.1 kB / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7496, allocations: 0 / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7496, allocations: 0 / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.7496, allocations: 0 / 1.212 GB, free: 10.49 MB / 0.9356 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.000717/0.7503, allocations: 496.5 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7504, allocations: 8.031 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.7505, allocations: 20.75 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.751, allocations: 248.4 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.7511, allocations: 12.38 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.7511, allocations: 28.36 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.7514, allocations: 127.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7514, allocations: 3.938 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.7514, allocations: 7.984 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7514, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.7516, allocations: 59.95 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.7523, allocations: 0.5162 MB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.7526, allocations: 165.1 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.7527, allocations: 65.69 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.7527, allocations: 4 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.7531, allocations: 200.8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.7531, allocations: 4 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0005262/0.7536, allocations: 316.3 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.7537, allocations: 89.03 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.7538, allocations: 126.1 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.7539, allocations: 37.7 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.754, allocations: 100.6 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.754, allocations: 51.5 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.7542, allocations: 73.67 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7543, allocations: 330.8 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.7545, allocations: 84.17 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.7547, allocations: 160.7 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.7549, allocations: 246.9 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.755, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005342/0.7555, allocations: 360.5 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.7556, allocations: 67.39 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7556, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7556, allocations: 4 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.7557, allocations: 31.84 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.7557, allocations: 11.88 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.7561, allocations: 68 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.7561, allocations: 19.98 kB / 1.215 GB, free: 6.059 MB / 0.9356 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.0001271/0.7562, allocations: 140 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.7563, allocations: 15.81 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.7563, allocations: 16.5 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7563, allocations: 0 / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.7564, allocations: 7.938 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7564, allocations: 7.984 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.757, allocations: 0.6031 MB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.757, allocations: 0 / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.757, allocations: 11.94 kB / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.757, allocations: 7.922 kB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.7571, allocations: 8 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7571, allocations: 4 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7571, allocations: 0 / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.7575, allocations: 429.2 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.7575, allocations: 85.02 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.7576, allocations: 15.92 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.7577, allocations: 7.984 kB / 1.217 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.7578, allocations: 27.97 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.7578, allocations: 15.98 kB / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.7579, allocations: 99.27 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7579, allocations: 3.938 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003573/0.7583, allocations: 55.98 kB / 1.217 GB, free: 4.414 MB / 0.9356 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.0002015/0.7585, allocations: 111.2 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.759, allocations: 346.5 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.759, allocations: 448 / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.7591, allocations: 123.9 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.7596, allocations: 34.39 kB / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.7601, allocations: 294 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.7604, allocations: 0.7086 MB / 1.219 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.7604, allocations: 27.38 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7605, allocations: 0 / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.004233/0.7647, allocations: 2.266 MB / 1.221 GB, free: 452 kB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time