Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00822/0.00822, allocations: 100.3 kB / 15.73 MB, free: 6.043 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.002159/0.00216, allocations: 186.3 kB / 16.67 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.044/3.044, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4525, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002381/0.455, allocations: 0.6748 MB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.4573, allocations: 1.354 MB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.4574, allocations: 4 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.458, allocations: 179.5 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.4582, allocations: 107.7 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.4591, allocations: 235.4 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.4597, allocations: 491.7 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.4598, allocations: 19.98 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.4601, allocations: 207.6 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.4605, allocations: 203.6 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.4605, allocations: 20 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.4608, allocations: 87.94 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.4612, allocations: 259.5 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.4614, allocations: 155.2 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.462, allocations: 470.8 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.462, allocations: 4 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.827e-06/0.462, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.462, allocations: 3.938 kB / 1.212 GB, free: 5.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001186/0.4632, allocations: 0.6283 MB / 1.213 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.4633, allocations: 8.625 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4635, allocations: 36.66 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.4642, allocations: 392 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4642, allocations: 12.38 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.4643, allocations: 20.38 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4647, allocations: 184.6 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4647, allocations: 4.125 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.4648, allocations: 7.922 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4648, allocations: 4 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4649, allocations: 107.9 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.4654, allocations: 383.2 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.466, allocations: 319.6 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4662, allocations: 122.6 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4662, allocations: 7.984 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.4667, allocations: 279.2 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.4667, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001065/0.4678, allocations: 0.4973 MB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4679, allocations: 118.8 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.4684, allocations: 404.4 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.4684, allocations: 37.7 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.4686, allocations: 152.8 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.4687, allocations: 47.47 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.4689, allocations: 117.6 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002853/0.4691, allocations: 342.8 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.4693, allocations: 83.95 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.4699, allocations: 464.7 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.4702, allocations: 257.5 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4702, allocations: 0 / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005213/0.4708, allocations: 329.3 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4708, allocations: 11.94 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4708, allocations: 4 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4708, allocations: 4.125 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.471, allocations: 35.92 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4711, allocations: 11.98 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.4718, allocations: 64.14 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4719, allocations: 20.12 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002411/0.4721, allocations: 195.9 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.4722, allocations: 27.66 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.4722, allocations: 33.89 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4723, allocations: 0 / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4723, allocations: 4 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4723, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.4726, allocations: 289.4 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4726, allocations: 4 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.4727, allocations: 3.938 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4727, allocations: 11.88 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4727, allocations: 7.984 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4727, allocations: 0 / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4727, allocations: 0 / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.4734, allocations: 436.1 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4735, allocations: 104.8 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.4736, allocations: 11.88 kB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.4737, allocations: 8 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.4737, allocations: 15.98 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4738, allocations: 15.98 kB / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004506/0.4742, allocations: 287 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4742, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003902/0.4746, allocations: 80 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005877/0.4752, allocations: 143.6 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.4758, allocations: 259.7 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4758, allocations: 0.8125 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.4761, allocations: 147.8 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4764, allocations: 34.7 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4774, allocations: 0.5531 MB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.4779, allocations: 0.7674 MB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.478, allocations: 50.12 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.4781, allocations: 31.42 kB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4781, allocations: 0 / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of Templates: time 0.01106/0.4892, allocations: 5.16 MB / 1.226 GB, free: 6.633 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches