Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.01002/0.01002, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.00243/0.00243, allocations: 190.5 kB / 16.79 MB, free: 5.805 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 0.8125 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6709, allocations: 140.4 MB / 0.9496 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001762/0.6727, allocations: 0.8057 MB / 0.9504 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.6739, allocations: 1.279 MB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.674, allocations: 1.031 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.674, allocations: 3.938 kB / 0.9516 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.6741, allocations: 14.17 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.6747, allocations: 232.2 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.6748, allocations: 224.7 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.6749, allocations: 9.891 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.675, allocations: 93.39 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.6751, allocations: 81.88 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.6752, allocations: 13.62 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.6753, allocations: 27.27 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.6753, allocations: 27.69 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.6754, allocations: 86.48 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.6756, allocations: 165.2 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6756, allocations: 1.469 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6756, allocations: 0 / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.6756, allocations: 0 / 0.9526 GB, free: 6.797 MB / 0.7169 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.0006111/0.6762, allocations: 0.4884 MB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6763, allocations: 9.219 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.6763, allocations: 17.53 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.6769, allocations: 256.5 kB / 0.9533 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.6769, allocations: 12.09 kB / 0.9533 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.677, allocations: 24.95 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.6772, allocations: 130 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6772, allocations: 5.406 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.6772, allocations: 9.719 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6773, allocations: 0.7188 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.6774, allocations: 64.23 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.6781, allocations: 0.5121 MB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6783, allocations: 166.4 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.6785, allocations: 66.56 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.6785, allocations: 1.406 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.6788, allocations: 206.5 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.6788, allocations: 0 / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005314/0.6793, allocations: 312.8 kB / 0.9548 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.6794, allocations: 89.77 kB / 0.9549 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.6795, allocations: 137 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.6795, allocations: 35.64 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.6796, allocations: 98.31 kB / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.6796, allocations: 51.69 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.6797, allocations: 71.47 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.6798, allocations: 330.3 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.6799, allocations: 82.42 kB / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.6801, allocations: 150.3 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.6804, allocations: 249.2 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6804, allocations: 0 / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000522/0.6809, allocations: 366.3 kB / 0.9564 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.681, allocations: 65.09 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.681, allocations: 1.188 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.681, allocations: 3.938 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.6811, allocations: 22.64 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6811, allocations: 12.25 kB / 0.9565 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.6815, allocations: 71.27 kB / 0.9565 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.6816, allocations: 18.22 kB / 0.9565 GB, free: 3.445 MB / 0.7169 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.0001037/0.6817, allocations: 143.1 kB / 0.9567 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.6817, allocations: 11.66 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.6817, allocations: 17.95 kB / 0.9567 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6818, allocations: 3.969 kB / 0.9567 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6818, allocations: 3.938 kB / 0.9567 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6818, allocations: 1.219 kB / 0.9567 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.6823, allocations: 0.6186 MB / 0.9573 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6823, allocations: 1.375 kB / 0.9573 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.6823, allocations: 9.547 kB / 0.9573 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6823, allocations: 6.625 kB / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.6824, allocations: 10.45 kB / 0.9573 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6824, allocations: 1.531 kB / 0.9573 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6824, allocations: 5.469 kB / 0.9574 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.6827, allocations: 424.1 kB / 0.9578 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.6827, allocations: 83.77 kB / 0.9578 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.6828, allocations: 12.06 kB / 0.9578 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6829, allocations: 9.484 kB / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.683, allocations: 25.58 kB / 0.9579 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.683, allocations: 17.61 kB / 0.9579 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.6831, allocations: 96.27 kB / 0.958 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6831, allocations: 5.375 kB / 0.958 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003522/0.6834, allocations: 49.38 kB / 0.958 GB, free: 2.215 MB / 0.7169 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.0001411/0.6836, allocations: 125.5 kB / 0.9582 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.684, allocations: 345.5 kB / 0.9585 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.684, allocations: 0 / 0.9585 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.6842, allocations: 113.7 kB / 0.9586 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.6846, allocations: 36.12 kB / 0.9586 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.6851, allocations: 339.8 kB / 0.959 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.6852, allocations: 0.7049 MB / 0.9596 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.6853, allocations: 17.44 kB / 0.9597 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6853, allocations: 0 / 0.9597 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of Templates: time 0.003933/0.6893, allocations: 2.259 MB / 0.9619 GB, free: 15.64 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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