Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 113.8 kB / 17.08 MB, free: 5.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001773, allocations: 194.2 kB / 20.03 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001841/0.3418, allocations: 0.6698 MB / 1.177 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3434, allocations: 1.168 MB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.3435, allocations: 0 / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.3435, allocations: 3.938 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.3436, allocations: 11.86 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3441, allocations: 143.3 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3443, allocations: 151.7 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.3444, allocations: 12 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.3445, allocations: 59.88 kB / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3447, allocations: 47.88 kB / 1.178 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.3447, allocations: 16 kB / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.3448, allocations: 23.98 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.3448, allocations: 23.97 kB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.3449, allocations: 51.84 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3452, allocations: 135.5 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3452, allocations: 0 / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3452, allocations: 0 / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3452, allocations: 4 kB / 1.178 GB, free: 3.332 MB / 0.92 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.0007297/0.3459, allocations: 427.1 kB / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.346, allocations: 11.98 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.346, allocations: 20.88 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3465, allocations: 200.5 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.3465, allocations: 4.375 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3466, allocations: 16.36 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3468, allocations: 86.14 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3468, allocations: 7.922 kB / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3468, allocations: 0 / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3468, allocations: 0 / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3469, allocations: 43.97 kB / 1.179 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.3476, allocations: 360.5 kB / 1.179 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3478, allocations: 90.53 kB / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.3479, allocations: 44.83 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.3479, allocations: 0 / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.3482, allocations: 131.4 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.311e-05/0.3482, allocations: 96 / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004075/0.3486, allocations: 205.5 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3487, allocations: 63.39 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3488, allocations: 109.8 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3488, allocations: 41.64 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.3489, allocations: 88.14 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.349, allocations: 27.8 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.3491, allocations: 45.7 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3492, allocations: 322.8 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3494, allocations: 51.97 kB / 1.181 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3495, allocations: 88.2 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3497, allocations: 137.7 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3497, allocations: 0 / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003671/0.3501, allocations: 211.3 kB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.3501, allocations: 41.72 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3502, allocations: 0 / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3502, allocations: 0 / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.3503, allocations: 15.94 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3503, allocations: 4 kB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3505, allocations: 39.84 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3505, allocations: 12 kB / 1.181 GB, free: 172 kB / 0.92 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 0.0001281/0.3506, allocations: 133.7 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3507, allocations: 7.953 kB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3507, allocations: 8.5 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3507, allocations: 7.984 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3507, allocations: 0 / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3507, allocations: 0 / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.3512, allocations: 434.6 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3512, allocations: 0 / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.3513, allocations: 7.984 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3513, allocations: 4 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3513, allocations: 4 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3513, allocations: 3.938 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3513, allocations: 0 / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.3517, allocations: 263.4 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.3517, allocations: 89 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.3518, allocations: 4 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.3518, allocations: 11.98 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.3519, allocations: 15.98 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3519, allocations: 15.86 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.352, allocations: 87.28 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.352, allocations: 3.938 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002712/0.3523, allocations: 31.98 kB / 1.182 GB, free: 14.95 MB / 0.9356 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.0001898/0.3525, allocations: 119.2 kB / 1.182 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3528, allocations: 187.3 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3528, allocations: 4 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3529, allocations: 71.92 kB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3532, allocations: 15.98 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.3537, allocations: 219.8 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.354, allocations: 0.6887 MB / 1.183 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.354, allocations: 19.44 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3541, allocations: 0 / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.003532/0.3576, allocations: 1.455 MB / 1.185 GB, free: 12.11 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time [Calling sys.exit(0), Time elapsed: 10.325288877938874]