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.001649/0.001649, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.002027/0.002027, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.899/2.899, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.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.002025/0.002025, allocations: 63.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8973, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001779/0.8991, allocations: 0.6593 MB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.9003, allocations: 1.207 MB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.9003, allocations: 0 / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.9003, allocations: 3.938 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.9004, allocations: 7.875 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.9009, allocations: 137.2 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.901, allocations: 147.6 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.9011, allocations: 9.469 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.9012, allocations: 58.23 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.9013, allocations: 62.02 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.9013, allocations: 13.53 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.9014, allocations: 28.25 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.9014, allocations: 18.89 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.9015, allocations: 53.47 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.9016, allocations: 130.5 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9016, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9016, allocations: 7.875 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9016, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 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.0005283/0.9022, allocations: 430.2 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.9022, allocations: 8.438 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.9023, allocations: 9.594 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.9026, allocations: 210.5 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.9026, allocations: 6.031 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.9027, allocations: 11 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.9028, allocations: 90.69 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.9028, allocations: 3.938 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.9028, allocations: 4 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9028, allocations: 2.719 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.9029, allocations: 37.77 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.9034, allocations: 357.9 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.9035, allocations: 82.73 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.9036, allocations: 36.12 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.9036, allocations: 2.562 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.9038, allocations: 120.6 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.9038, allocations: 0 / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0003559/0.9042, allocations: 207.2 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.9042, allocations: 60.75 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.9043, allocations: 105 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.9043, allocations: 34.7 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.9044, allocations: 94.44 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.9044, allocations: 33 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.9044, allocations: 42.2 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.9045, allocations: 324.6 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.9046, allocations: 54.58 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.9047, allocations: 87.48 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.9049, allocations: 135 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9049, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002981/0.9052, allocations: 217.8 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.9052, allocations: 35.58 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9052, allocations: 6.844 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9052, allocations: 7.359 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.9053, allocations: 11.88 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9053, allocations: 2.562 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.9055, allocations: 33.39 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.9055, allocations: 10.94 kB / 1.327 GB, free: 21.2 MB / 1.061 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 8.588e-05/0.9056, allocations: 138.1 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.9056, allocations: 9.578 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.9057, allocations: 9.344 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9057, allocations: 1.906 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9057, allocations: 3.469 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9057, allocations: 0 / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.9061, allocations: 440.4 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9061, allocations: 0.8438 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.9061, allocations: 11.56 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9061, allocations: 0 / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.9061, allocations: 6.375 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9061, allocations: 0.5625 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9061, allocations: 0.5 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.9064, allocations: 256.4 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.9064, allocations: 87.31 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.9064, allocations: 6.234 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.9065, allocations: 11.02 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.9066, allocations: 17.34 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.9066, allocations: 13.19 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.9066, allocations: 84.09 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9066, allocations: 0 / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002842/0.9069, allocations: 31.97 kB / 1.328 GB, free: 20.31 MB / 1.061 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.0001556/0.9071, allocations: 118.3 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.9074, allocations: 178.5 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9074, allocations: 1.031 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.9075, allocations: 51.81 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.9078, allocations: 15.64 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.9081, allocations: 232.5 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.9083, allocations: 0.6935 MB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.9083, allocations: 16.27 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9083, allocations: 0.6875 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of Templates: time 0.003761/0.9121, allocations: 1.456 MB / 1.331 GB, free: 19.07 MB / 1.061 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 -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] "" 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: 11.533758065008442]