Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001285/0.001285, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.0014/0.0014, allocations: 213.1 kB / 23.04 MB, free: 4.844 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002046/0.002046, allocations: 73.59 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002801/0.3521, allocations: 0.7247 MB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3548, allocations: 1.276 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.3549, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.3549, allocations: 7.875 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.355, allocations: 15.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3561, allocations: 253.6 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000469/0.3566, allocations: 255.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3567, allocations: 12.22 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.357, allocations: 103.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3572, allocations: 83.73 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.3573, allocations: 24 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3574, allocations: 35.92 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3574, allocations: 31.91 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3576, allocations: 87.81 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.3581, allocations: 227.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3581, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3581, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3581, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 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.001021/0.3591, allocations: 429.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3591, allocations: 8.031 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3592, allocations: 16.89 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.3602, allocations: 198.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.3602, allocations: 12.36 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.3603, allocations: 20.38 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.3607, allocations: 135.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3608, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3608, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3608, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.361, allocations: 59.89 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3623, allocations: 428.5 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.3627, allocations: 141.1 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3629, allocations: 57.69 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3629, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.3634, allocations: 210.9 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.574e-06/0.3634, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0008887/0.3643, allocations: 309.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.3644, allocations: 96.97 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3646, allocations: 134 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.3646, allocations: 41.7 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.3647, allocations: 92.59 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3648, allocations: 51.78 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.365, allocations: 77.67 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.3652, allocations: 330.8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3655, allocations: 147.6 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.3659, allocations: 211.6 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.3665, allocations: 239.4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3665, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001113/0.3676, allocations: 437.2 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/0.3677, allocations: 71.39 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3677, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.3677, allocations: 4 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3679, allocations: 19.94 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.3679, allocations: 7.984 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.3686, allocations: 71.98 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.3686, allocations: 23.98 kB / 1.334 GB, free: 9.438 MB / 1.029 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.0002391/0.3689, allocations: 138.9 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.3689, allocations: 19.89 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.369, allocations: 16.44 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.369, allocations: 4 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.369, allocations: 4 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.369, allocations: 3.938 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3701, allocations: 0.5442 MB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3701, allocations: 4 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.3702, allocations: 11.94 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.3702, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3702, allocations: 3.984 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.3702, allocations: 7.938 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3702, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.371, allocations: 432.4 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.371, allocations: 15.95 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.3711, allocations: 7.984 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.3714, allocations: 11.98 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3715, allocations: 31.89 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.3715, allocations: 12 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001026/0.3716, allocations: 96.64 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3716, allocations: 0 / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006611/0.3723, allocations: 63.92 kB / 1.335 GB, free: 7.961 MB / 1.029 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.000242/0.3725, allocations: 119.5 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008377/0.3734, allocations: 378 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3734, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.3736, allocations: 89.25 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.3743, allocations: 30.22 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.3751, allocations: 313.9 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.3753, allocations: 89.3 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.3753, allocations: 23.42 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3753, allocations: 0 / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of Templates: time 0.004652/0.38, allocations: 2.29 MB / 1.339 GB, free: 4.551 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 11.204833816038445]