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.001824/0.001824, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.002174/0.002174, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.417/1.417, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.611/2.611, allocations: 443.5 MB / 0.7293 GB, free: 14.69 MB / 0.5763 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.001949/0.001949, allocations: 71.89 kB / 1.057 GB, free: 2.055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 160.7 MB / 1.214 GB, free: 1.027 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001898/0.3047, allocations: 0.6647 MB / 1.215 GB, free: 368 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3063, allocations: 1.172 MB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.3064, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3064, allocations: 3.938 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.3065, allocations: 15.86 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.3071, allocations: 139.4 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3073, allocations: 147.7 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.3074, allocations: 4 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3075, allocations: 67.88 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3076, allocations: 47.81 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.3076, allocations: 16 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.3077, allocations: 27.98 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.3077, allocations: 19.97 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.3078, allocations: 47.84 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.308, allocations: 139.5 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.308, allocations: 0 / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.308, allocations: 0 / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.308, allocations: 7.938 kB / 1.217 GB, free: 14.5 MB / 0.9669 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.0006901/0.3087, allocations: 420.9 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3088, allocations: 15.98 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.3088, allocations: 12.88 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3093, allocations: 204.5 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3093, allocations: 8.375 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.3093, allocations: 12.36 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3095, allocations: 94.12 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3095, allocations: 3.938 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3095, allocations: 7.984 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3096, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.3096, allocations: 35.97 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.3103, allocations: 352.6 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3105, allocations: 98.55 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.3105, allocations: 32.84 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3105, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.3108, allocations: 119.3 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3108, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004297/0.3113, allocations: 209.5 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3113, allocations: 63.39 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3114, allocations: 109.8 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.3115, allocations: 33.7 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.3115, allocations: 88.14 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3116, allocations: 31.94 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.3116, allocations: 45.7 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3118, allocations: 326.8 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3119, allocations: 51.97 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3121, allocations: 86.33 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3123, allocations: 137.9 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3123, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003723/0.3126, allocations: 214.7 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3127, allocations: 37.69 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3127, allocations: 3.938 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3127, allocations: 4 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3128, allocations: 11.94 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3128, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.313, allocations: 47.97 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.313, allocations: 8 kB / 1.219 GB, free: 11.36 MB / 0.9669 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.0001263/0.3131, allocations: 137.7 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.3132, allocations: 7.953 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.3132, allocations: 12.5 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3132, allocations: 0 / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3132, allocations: 4 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3132, allocations: 0 / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.3137, allocations: 430.5 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3137, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.3137, allocations: 11.92 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3137, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3137, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3137, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3137, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3141, allocations: 267.4 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3141, allocations: 89 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.3141, allocations: 8 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3142, allocations: 3.984 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3143, allocations: 15.98 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3143, allocations: 15.92 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.3144, allocations: 91.22 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3144, allocations: 0 / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002873/0.3147, allocations: 39.98 kB / 1.22 GB, free: 10.14 MB / 0.9669 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.0001895/0.3149, allocations: 117.8 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.3152, allocations: 163.3 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3152, allocations: 0 / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3153, allocations: 59.91 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3156, allocations: 17.86 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.316, allocations: 220.4 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3163, allocations: 0.6924 MB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3164, allocations: 11.44 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3164, allocations: 0 / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of Templates: time 0.003447/0.3198, allocations: 1.467 MB / 1.223 GB, free: 7.332 MB / 0.9669 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.143068539910018]