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.001633/0.001633, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001308/0.001308, allocations: 186 kB / 20.78 MB, free: 1.547 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.495/1.495, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.662/2.662, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] 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.002013/0.002013, allocations: 67.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002251/0.3453, allocations: 0.6794 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3471, allocations: 1.168 MB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.3472, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3472, allocations: 7.938 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/0.3473, allocations: 3.938 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.3479, allocations: 147.7 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.3481, allocations: 143.7 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.3482, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3483, allocations: 59.94 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3484, allocations: 55.8 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.3484, allocations: 16 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.3485, allocations: 27.98 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.3486, allocations: 19.98 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.3486, allocations: 47.83 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3489, allocations: 135.6 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3489, allocations: 3.938 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3489, allocations: 0 / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3489, allocations: 0 / 1.219 GB, free: 12.8 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.0007438/0.3496, allocations: 420.9 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3497, allocations: 15.97 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.3497, allocations: 16.88 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.3502, allocations: 204.5 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3502, allocations: 8.375 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.3502, allocations: 12.36 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3504, allocations: 82.2 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3504, allocations: 7.875 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3505, allocations: 11.98 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3505, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3506, allocations: 43.95 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.3513, allocations: 356.6 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3515, allocations: 86.56 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.3515, allocations: 32.84 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3515, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.3519, allocations: 127.1 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3519, allocations: 0 / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000421/0.3523, allocations: 205.5 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3524, allocations: 59.39 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3525, allocations: 117.8 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.3525, allocations: 37.7 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.3526, allocations: 88.14 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3526, allocations: 31.94 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.3527, allocations: 49.64 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3529, allocations: 322.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.353, allocations: 51.97 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3531, allocations: 82.33 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3533, allocations: 137.9 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3533, allocations: 0 / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003745/0.3537, allocations: 211.3 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.3537, allocations: 41.72 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3537, allocations: 4 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3538, allocations: 4 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.3538, allocations: 15.88 kB / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3538, allocations: 0 / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.354, allocations: 43.84 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3541, allocations: 8 kB / 1.221 GB, free: 9.645 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.0001281/0.3542, allocations: 133.8 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3542, allocations: 7.953 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.3542, allocations: 8.5 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3542, allocations: 7.938 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3543, allocations: 0 / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3543, allocations: 0 / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.3548, allocations: 434.2 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3548, allocations: 0 / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.3548, allocations: 11.98 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3548, allocations: 0 / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3548, allocations: 4 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3548, allocations: 3.938 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3548, allocations: 0 / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.3551, allocations: 263.4 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3552, allocations: 92.94 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3552, allocations: 8 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.3553, allocations: 7.984 kB / 1.222 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.3554, allocations: 15.98 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3554, allocations: 11.92 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.3554, allocations: 87.28 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002818/0.3557, allocations: 35.98 kB / 1.222 GB, free: 8.434 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.0001846/0.3559, allocations: 111.2 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.3562, allocations: 171.3 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3562, allocations: 0 / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3563, allocations: 55.97 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3566, allocations: 19.92 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3571, allocations: 198.4 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3575, allocations: 0.6926 MB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.3575, allocations: 8.562 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.3575, allocations: 15.44 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/0.3575, allocations: 0 / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of Templates: time 0.005064/0.3626, allocations: 1.701 MB / 1.225 GB, free: 5.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.574819412082434]