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.001801/0.001801, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002282/0.002282, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.942e-05, allocations: 3.188 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002009/0.002038, allocations: 0.6714 MB / 0.8115 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.003921, allocations: 1.183 MB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.003974, allocations: 0 / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.004005, allocations: 3.938 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.004091, allocations: 4.594 kB / 0.8126 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.004664, allocations: 144.7 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.004929, allocations: 147.7 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.005014, allocations: 5.312 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.005182, allocations: 83.86 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.00533, allocations: 47.86 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.005371, allocations: 13.91 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.005466, allocations: 31.97 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.005499, allocations: 11.98 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.005594, allocations: 47.89 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.005864, allocations: 151.5 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.00587, allocations: 5.594 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005871, allocations: 0 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.005876, allocations: 0 / 0.8133 GB, free: 15.53 MB / 0.7761 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.0007042/0.00658, allocations: 335.9 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.006617, allocations: 13.62 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.006704, allocations: 20.88 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.007125, allocations: 145.9 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.007155, allocations: 12.91 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.007188, allocations: 13.67 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.007394, allocations: 86.14 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007404, allocations: 192 / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.007423, allocations: 4.359 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.007432, allocations: 9.281 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.007537, allocations: 35.97 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.00814, allocations: 273.8 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.008335, allocations: 82.56 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.008419, allocations: 38.39 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.008431, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.008736, allocations: 132.5 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.008737, allocations: 0 / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0004602/0.009198, allocations: 207.4 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.009251, allocations: 59.89 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.009379, allocations: 117.8 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.009422, allocations: 34.23 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.009498, allocations: 90.08 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.009541, allocations: 35.88 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.009636, allocations: 45.7 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.009813, allocations: 322.8 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.00996, allocations: 77.61 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01014, allocations: 122 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01036, allocations: 140.9 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01036, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000452/0.01082, allocations: 254.1 kB / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.01086, allocations: 38.22 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01086, allocations: 1 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01088, allocations: 4 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.01096, allocations: 16 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01097, allocations: 0.6875 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.01118, allocations: 40.88 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.01122, allocations: 12.84 kB / 0.816 GB, free: 12.54 MB / 0.7761 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.0001282/0.01135, allocations: 127.9 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.01139, allocations: 27.88 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.01142, allocations: 8.438 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01143, allocations: 4 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01143, allocations: 1 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01144, allocations: 3.984 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.01191, allocations: 374.1 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01191, allocations: 2.062 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.01194, allocations: 4 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01194, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01196, allocations: 3.984 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01196, allocations: 4 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01196, allocations: 2.281 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.01233, allocations: 279.4 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.01235, allocations: 11.89 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.01237, allocations: 4 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.01246, allocations: 11.92 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.01252, allocations: 15.97 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.01253, allocations: 9.125 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.0126, allocations: 91.27 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0126, allocations: 0 / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002845/0.01288, allocations: 29.03 kB / 0.817 GB, free: 11.49 MB / 0.7761 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.0001908/0.01307, allocations: 113.8 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01345, allocations: 213.8 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01345, allocations: 0 / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01355, allocations: 51.91 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01384, allocations: 20.42 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.0143, allocations: 194.2 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.01438, allocations: 71.34 kB / 0.8176 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.01442, allocations: 10.23 kB / 0.8176 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.01447, allocations: 21.16 kB / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01447, allocations: 0 / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.005263/0.01973, allocations: 1.783 MB / 0.8194 GB, free: 9.035 MB / 0.7761 GB " [Timeout remaining time 300] 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.028073741006665]