Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001815/0.001815, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.002392/0.002392, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.785/2.785, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [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.002128/0.002128, allocations: 67.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9515/0.9537, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001756/0.9554, allocations: 0.6547 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.9566, allocations: 1.165 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.9567, allocations: 0 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.9567, allocations: 7.938 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.9568, allocations: 26.11 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.9573, allocations: 134.7 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.9574, allocations: 144.7 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.9575, allocations: 10.94 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.9576, allocations: 60.25 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.9577, allocations: 42.98 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.9577, allocations: 11.41 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.9578, allocations: 35.45 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.9578, allocations: 29.19 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.9579, allocations: 41 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.9581, allocations: 135.7 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9581, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9581, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.9581, allocations: 0 / 1.156 GB, free: 31.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005289/0.9586, allocations: 344.2 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.9586, allocations: 8.25 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.9587, allocations: 9.25 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.959, allocations: 163 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.9591, allocations: 7.219 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.9591, allocations: 14.81 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.9592, allocations: 85.97 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9593, allocations: 3.938 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9593, allocations: 6.422 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9593, allocations: 0 / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.9594, allocations: 35.42 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.9598, allocations: 275.6 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.96, allocations: 83.11 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.96, allocations: 30.55 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.96, allocations: 3.984 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.9603, allocations: 136.7 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.9603, allocations: 0 / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0003474/0.9606, allocations: 203.5 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.9606, allocations: 57.5 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.9607, allocations: 112.7 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.9607, allocations: 32.52 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.9608, allocations: 95.73 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.9608, allocations: 33.53 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.9609, allocations: 48.62 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.9609, allocations: 324.8 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.961, allocations: 74.27 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.9611, allocations: 128.7 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.9613, allocations: 136 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9613, allocations: 6.719 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002817/0.9615, allocations: 231.2 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.9616, allocations: 42.8 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9616, allocations: 2.75 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9616, allocations: 0 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.9617, allocations: 11.98 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9617, allocations: 7.156 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.9619, allocations: 33.2 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.9619, allocations: 5.594 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.806e-05/0.962, allocations: 144.8 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.962, allocations: 6.641 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.962, allocations: 11.06 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.962, allocations: 3.062 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.962, allocations: 4 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.962, allocations: 3.422 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.9623, allocations: 379.3 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9623, allocations: 0 / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.9623, allocations: 5.719 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.9623, allocations: 0 / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9624, allocations: 2.75 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9624, allocations: 4 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9624, allocations: 2.781 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.9626, allocations: 272.2 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-06/0.9626, allocations: 10.67 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.9626, allocations: 9.734 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.9627, allocations: 6.344 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.9627, allocations: 19.08 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.9627, allocations: 9.562 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.9628, allocations: 84.14 kB / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9628, allocations: 0 / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002633/0.963, allocations: 35.78 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001309/0.9632, allocations: 106.2 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.9634, allocations: 211 kB / 1.16 GB, free: 28.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9634, allocations: 0 / 1.16 GB, free: 28.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.9635, allocations: 54.75 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.9638, allocations: 21.11 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.9641, allocations: 186.9 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.9642, allocations: 75.8 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.9642, allocations: 10.16 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.9642, allocations: 17.55 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9642, allocations: 0 / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of Templates: time 0.004416/0.9687, allocations: 1.769 MB / 1.162 GB, free: 28.23 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.991558389971033]