Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00177/0.00177, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002421/0.002421, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9514/0.9528, allocations: 140.4 MB / 1.089 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002203/0.9551, allocations: 0.8548 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.9571, allocations: 1.458 MB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.9572, allocations: 3.406 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.9578, allocations: 191.1 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.9579, allocations: 115.6 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.959, allocations: 367.3 kB / 1.092 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.9601, allocations: 0.8707 MB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.9603, allocations: 99.33 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.9607, allocations: 351.3 kB / 1.093 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.9612, allocations: 260.8 kB / 1.093 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.9614, allocations: 45.59 kB / 1.093 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.9617, allocations: 105.5 kB / 1.093 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005491/0.9623, allocations: 348.3 kB / 1.094 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.9627, allocations: 270.3 kB / 1.094 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.964, allocations: 0.9199 MB / 1.095 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.964, allocations: 0.75 kB / 1.095 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9641, allocations: 0.8125 kB / 1.095 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.9641, allocations: 0 / 1.095 GB, free: 2.734 MB / 0.8575 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.001706/0.9658, allocations: 0.8816 MB / 1.096 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.9658, allocations: 9.172 kB / 1.096 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.9661, allocations: 57.97 kB / 1.096 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.9671, allocations: 0.5386 MB / 1.096 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.9671, allocations: 29.47 kB / 1.096 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.9673, allocations: 41.58 kB / 1.096 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.9678, allocations: 306.1 kB / 1.097 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9678, allocations: 0.7969 kB / 1.097 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.9679, allocations: 7.156 kB / 1.097 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9679, allocations: 2.969 kB / 1.097 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.9683, allocations: 220.8 kB / 1.097 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.9706, allocations: 1.185 MB / 1.098 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.9714, allocations: 465 kB / 1.098 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.9717, allocations: 184.5 kB / 1.099 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.9717, allocations: 2.281 kB / 1.099 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.9723, allocations: 327.8 kB / 1.099 GB, free: 448 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 2.494e-06/0.9723, allocations: 0 / 1.099 GB, free: 448 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001288/0.9736, allocations: 0.632 MB / 1.099 GB, free: 220 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.9736, allocations: 119.6 kB / 1.1 GB, free: 84 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.9747, allocations: 0.5926 MB / 1.1 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.9748, allocations: 48.19 kB / 1.1 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.9751, allocations: 220.6 kB / 1.1 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.9752, allocations: 56.64 kB / 1.1 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/0.9756, allocations: 183.8 kB / 1.101 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.9759, allocations: 364.7 kB / 1.101 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.9761, allocations: 126 kB / 1.101 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.9772, allocations: 0.7128 MB / 1.102 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.9776, allocations: 302.7 kB / 1.102 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.9777, allocations: 6.094 kB / 1.102 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000815/0.9785, allocations: 414.5 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.9785, allocations: 6.875 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9785, allocations: 2.656 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.9786, allocations: 10.27 kB / 1.103 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.9788, allocations: 39.86 kB / 1.103 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.9788, allocations: 4.844 kB / 1.103 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9803, allocations: 130.5 kB / 1.103 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.9803, allocations: 16.36 kB / 1.103 GB, free: 14.18 MB / 0.8731 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.0003744/0.9807, allocations: 264.8 kB / 1.103 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.9808, allocations: 38.81 kB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.9809, allocations: 56.31 kB / 1.103 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.9809, allocations: 2.75 kB / 1.103 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.9809, allocations: 1.312 kB / 1.103 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.981, allocations: 126.1 kB / 1.103 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.9811, allocations: 3.391 kB / 1.103 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.9813, allocations: 21.62 kB / 1.103 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.9814, allocations: 30.08 kB / 1.103 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009226/0.9823, allocations: 0.699 MB / 1.104 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009858/0.9833, allocations: 0.7986 MB / 1.105 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002965/0.9836, allocations: 175.6 kB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006422/0.9843, allocations: 434.7 kB / 1.105 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of Backend: time 4.31e-07/0.9843, allocations: 0 / 1.105 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.9855, allocations: 317 kB / 1.106 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001506/0.987, allocations: 1.118 MB / 1.107 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.01873/1.006, allocations: 8.2 MB / 1.115 GB, free: 11.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches