Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 158.5 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.672/2.672, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002821/0.3605, allocations: 0.7192 MB / 1.118 GB, free: 1.805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.363, allocations: 1.272 MB / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.3631, allocations: 4 kB / 1.119 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.3631, allocations: 7.875 kB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.3633, allocations: 19.8 kB / 1.119 GB, free: 500 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3643, allocations: 255.9 kB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.3648, allocations: 255.6 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.365, allocations: 8.234 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3652, allocations: 99.78 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.3654, allocations: 83.75 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.3655, allocations: 27.94 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3656, allocations: 35.98 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3657, allocations: 31.95 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.3659, allocations: 79.77 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.3663, allocations: 227.3 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3663, allocations: 0 / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3663, allocations: 0 / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3663, allocations: 3.938 kB / 1.12 GB, free: 15.41 MB / 1.076 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.0009814/0.3673, allocations: 433.2 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3673, allocations: 12.03 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.3674, allocations: 16.89 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.3683, allocations: 194.4 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.3683, allocations: 16.38 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3684, allocations: 24.36 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3687, allocations: 127.8 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.3687, allocations: 11.88 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3688, allocations: 8 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3688, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.3689, allocations: 59.95 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.37, allocations: 428.6 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.3704, allocations: 137.1 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3705, allocations: 53.69 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3705, allocations: 7.938 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.371, allocations: 207 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.371, allocations: 0 / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0008228/0.3718, allocations: 309.4 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.3719, allocations: 89.25 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.372, allocations: 136.2 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.3721, allocations: 41.7 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3722, allocations: 100.6 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.3723, allocations: 51.62 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3725, allocations: 77.67 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3727, allocations: 322.8 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.373, allocations: 151.6 kB / 1.123 GB, free: 12.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.3734, allocations: 220.2 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.3739, allocations: 251.3 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3739, allocations: 0 / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009181/0.3748, allocations: 416.6 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.3748, allocations: 67.39 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3749, allocations: 0 / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3749, allocations: 8.156 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.375, allocations: 23.94 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.375, allocations: 8.062 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.3756, allocations: 67.77 kB / 1.124 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.3756, allocations: 19.97 kB / 1.124 GB, free: 11.04 MB / 1.076 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.0001757/0.3758, allocations: 143.7 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3758, allocations: 23.89 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.3759, allocations: 16.44 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3759, allocations: 0 / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3759, allocations: 4 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3759, allocations: 3.938 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.3765, allocations: 0.5479 MB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3765, allocations: 0 / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3766, allocations: 8 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3766, allocations: 0 / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3766, allocations: 15.98 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.3766, allocations: 15.88 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3766, allocations: 0 / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.3771, allocations: 426.6 kB / 1.126 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.3771, allocations: 7.953 kB / 1.126 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3771, allocations: 11.98 kB / 1.126 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3773, allocations: 12.08 kB / 1.126 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3773, allocations: 31.83 kB / 1.126 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3773, allocations: 12 kB / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.3774, allocations: 95.27 kB / 1.126 GB, free: 9.625 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3774, allocations: 0 / 1.126 GB, free: 9.625 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003682/0.3778, allocations: 63.92 kB / 1.126 GB, free: 9.562 MB / 1.076 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.0001618/0.3779, allocations: 115.2 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.3785, allocations: 380.4 kB / 1.126 GB, free: 9.035 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3785, allocations: 0 / 1.126 GB, free: 9.035 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3786, allocations: 83.83 kB / 1.126 GB, free: 8.953 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3791, allocations: 35.38 kB / 1.126 GB, free: 8.922 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.3796, allocations: 284.2 kB / 1.127 GB, free: 8.613 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.3797, allocations: 96.86 kB / 1.127 GB, free: 8.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.3798, allocations: 17.48 kB / 1.127 GB, free: 8.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.3798, allocations: 32.47 kB / 1.127 GB, free: 8.449 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/0.3798, allocations: 0 / 1.127 GB, free: 8.449 MB / 1.076 GB Notification: Performance of Templates: time 0.00706/0.3869, allocations: 2.879 MB / 1.13 GB, free: 5.621 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.649704743991606]