Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008688/0.0008688, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008379/0.0008379, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.908/0.908, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.462e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001302/0.001327, allocations: 0.6647 MB / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.002724, allocations: 1.182 MB / 0.9535 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.002777, allocations: 3.938 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.002803, allocations: 0 / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.002865, allocations: 11.88 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.003264, allocations: 153 kB / 0.9537 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.003414, allocations: 143.7 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.003494, allocations: 8 kB / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.003587, allocations: 79.86 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.003671, allocations: 43.92 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.003691, allocations: 12 kB / 0.954 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.003752, allocations: 31.97 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.003774, allocations: 15.92 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.003826, allocations: 43.95 kB / 0.9541 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003992, allocations: 155.5 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003994, allocations: 0 / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003995, allocations: 8 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003999, allocations: 0 / 0.9542 GB, free: 408 kB / 0.9011 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.0004422/0.004442, allocations: 347.8 kB / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.004471, allocations: 8.031 kB / 0.9546 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.004529, allocations: 16.92 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.004783, allocations: 141.9 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.004801, allocations: 4.375 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.004822, allocations: 20.31 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.004948, allocations: 90.12 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004955, allocations: 192 / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.004968, allocations: 4.359 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004973, allocations: 4.125 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.005038, allocations: 39.97 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.005405, allocations: 280.4 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.00553, allocations: 74.58 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.00557, allocations: 32.84 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.005581, allocations: 8 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.005775, allocations: 131.2 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.005776, allocations: 0 / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002847/0.006061, allocations: 205.5 kB / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.006094, allocations: 59.55 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.006158, allocations: 109.8 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.00618, allocations: 33.7 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.006221, allocations: 92.12 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.006241, allocations: 27.81 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.006294, allocations: 49.69 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.006372, allocations: 322.8 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.006461, allocations: 81.67 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.006553, allocations: 118.4 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.006678, allocations: 135.1 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00668, allocations: 0 / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002364/0.006917, allocations: 252.9 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.006944, allocations: 33.7 kB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006949, allocations: 4 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006963, allocations: 7.984 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.007019, allocations: 19.92 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.007023, allocations: 0 / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.007132, allocations: 35.86 kB / 0.9569 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.007147, allocations: 16.11 kB / 0.9569 GB, free: 13.41 MB / 0.9167 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.183e-05/0.007229, allocations: 125.8 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007242, allocations: 11.89 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.007271, allocations: 12.44 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007274, allocations: 0 / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.00728, allocations: 7.922 kB / 0.9571 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007283, allocations: 0 / 0.9571 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.007565, allocations: 377.7 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007566, allocations: 0 / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.007589, allocations: 7.938 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007591, allocations: 4 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.007603, allocations: 11.98 kB / 0.9574 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.007604, allocations: 0 / 0.9574 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007605, allocations: 0 / 0.9574 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.007781, allocations: 267.4 kB / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.00779, allocations: 11.94 kB / 0.9577 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.007808, allocations: 8 kB / 0.9577 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.007859, allocations: 7.984 kB / 0.9577 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.007896, allocations: 11.97 kB / 0.9577 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.007904, allocations: 8 kB / 0.9577 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.007938, allocations: 99.56 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007938, allocations: 0 / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001892/0.008128, allocations: 35.94 kB / 0.9579 GB, free: 12.36 MB / 0.9167 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.0001298/0.008257, allocations: 110 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.008487, allocations: 209 kB / 0.9582 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008489, allocations: 0 / 0.9582 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.008557, allocations: 59.89 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.008755, allocations: 20.17 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.00908, allocations: 214.9 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.8e-05/0.009128, allocations: 75.33 kB / 0.9585 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.009155, allocations: 12.5 kB / 0.9585 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.009156, allocations: 0 / 0.9585 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of Templates: time 0.002194/0.01135, allocations: 1.472 MB / 0.96 GB, free: 10.13 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.349196784198284]