Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008178/0.008178, allocations: 95.11 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 205.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3469, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002044/0.3489, allocations: 0.857 MB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3509, allocations: 1.458 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.3509, allocations: 8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.3514, allocations: 191.5 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3516, allocations: 111.6 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.3526, allocations: 370.7 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000922/0.3535, allocations: 0.8855 MB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.3537, allocations: 68.27 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.354, allocations: 355.4 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.3544, allocations: 259.3 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3545, allocations: 44 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.3547, allocations: 111.9 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.3551, allocations: 343.3 kB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.3554, allocations: 278.8 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009258/0.3564, allocations: 0.9112 MB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3564, allocations: 0 / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3564, allocations: 4 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3564, allocations: 0 / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001652/0.358, allocations: 0.9072 MB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3581, allocations: 8.031 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.3583, allocations: 56.66 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.3591, allocations: 0.5413 MB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3591, allocations: 24.61 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3592, allocations: 36.36 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.3597, allocations: 310.9 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3597, allocations: 4.125 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3597, allocations: 7.938 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3597, allocations: 4 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.36, allocations: 223.8 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.3619, allocations: 1.187 MB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.3625, allocations: 455.8 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3627, allocations: 174.5 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3627, allocations: 11.98 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.3632, allocations: 336.1 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.3632, allocations: 0 / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001017/0.3642, allocations: 0.626 MB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.3643, allocations: 126.7 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.365, allocations: 0.5916 MB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.3651, allocations: 45.7 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.3653, allocations: 213.6 kB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.3654, allocations: 51.62 kB / 1.232 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.3656, allocations: 189.5 kB / 1.233 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3658, allocations: 362.8 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.366, allocations: 127.8 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.3668, allocations: 0.7145 MB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.3671, allocations: 300.6 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3671, allocations: 3.938 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006027/0.3677, allocations: 417 kB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3677, allocations: 4 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3677, allocations: 4 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3677, allocations: 8 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3679, allocations: 39.84 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3679, allocations: 9.062 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.3691, allocations: 135.8 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3691, allocations: 16 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.000284/0.3694, allocations: 258.5 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.3695, allocations: 47.72 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.3696, allocations: 51.36 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3696, allocations: 7.938 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3696, allocations: 0 / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3696, allocations: 0 / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.37, allocations: 409.3 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.37, allocations: 0 / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.37, allocations: 11.94 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.37, allocations: 7.938 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.37, allocations: 7.984 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.37, allocations: 7.938 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.37, allocations: 0 / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.3707, allocations: 0.5139 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3708, allocations: 124.9 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.3708, allocations: 7.938 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.371, allocations: 23.92 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.371, allocations: 27.97 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3711, allocations: 15.98 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004541/0.3715, allocations: 431.1 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3715, allocations: 0 / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004381/0.372, allocations: 115.8 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002601/0.3722, allocations: 153.3 kB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.3727, allocations: 349.2 kB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3727, allocations: 0 / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3729, allocations: 159.9 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3732, allocations: 45.92 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3744, allocations: 0.8497 MB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3748, allocations: 0.8349 MB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.375, allocations: 90.94 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.3751, allocations: 43.42 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3751, allocations: 384 / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.01255/0.3876, allocations: 8.005 MB / 1.247 GB, free: 2.215 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches