Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001349/0.001349, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.001596/0.001596, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 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.291/2.291, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.09 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.862, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001823/0.8639, allocations: 0.6771 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.8657, allocations: 1.347 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.8657, allocations: 1.531 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.8663, allocations: 191.2 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.8664, allocations: 109.1 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.8672, allocations: 222.5 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.8679, allocations: 499.8 kB / 1.092 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.868, allocations: 13.62 kB / 1.092 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.8683, allocations: 203.4 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.8687, allocations: 217.1 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.873e-05/0.8688, allocations: 20.56 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.8691, allocations: 78 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.8697, allocations: 253.9 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.87, allocations: 150.3 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.8711, allocations: 475.5 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8711, allocations: 0 / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8711, allocations: 0 / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.8712, allocations: 0.9375 kB / 1.093 GB, free: 3.352 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001585/0.8727, allocations: 0.634 MB / 1.094 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.8728, allocations: 12 kB / 1.094 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.873, allocations: 31.14 kB / 1.094 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.8738, allocations: 389.6 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.8739, allocations: 13.7 kB / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.8739, allocations: 17.33 kB / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.8744, allocations: 197.5 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8744, allocations: 0.7188 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.8744, allocations: 1.375 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8745, allocations: 6.109 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.8747, allocations: 108.2 kB / 1.094 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.8754, allocations: 387.8 kB / 1.095 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.8761, allocations: 316.1 kB / 1.095 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.8764, allocations: 126 kB / 1.095 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.8764, allocations: 10.55 kB / 1.095 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007341/0.8772, allocations: 279.5 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.8772, allocations: 3.938 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001286/0.8785, allocations: 0.4904 MB / 1.096 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.8786, allocations: 122.4 kB / 1.096 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.8792, allocations: 396.3 kB / 1.096 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.8793, allocations: 37.88 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.8794, allocations: 149.8 kB / 1.097 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.8795, allocations: 41.41 kB / 1.097 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.8797, allocations: 114.5 kB / 1.097 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8798, allocations: 347.7 kB / 1.097 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.88, allocations: 87.08 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.8806, allocations: 461.7 kB / 1.098 GB, free: 452 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.8809, allocations: 264.3 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8809, allocations: 1.25 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005609/0.8815, allocations: 332.4 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8815, allocations: 7.453 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8815, allocations: 3.844 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.8815, allocations: 4.938 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8817, allocations: 29.55 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.8817, allocations: 15.05 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.8825, allocations: 76.33 kB / 1.098 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.8826, allocations: 16.09 kB / 1.098 GB, free: 72 kB / 0.8575 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.0002688/0.8828, allocations: 189 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.8829, allocations: 37.23 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.883, allocations: 37.12 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.883, allocations: 1.578 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.883, allocations: 1.906 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.8831, allocations: 99.45 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.8831, allocations: 7.672 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.8832, allocations: 1.562 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.8833, allocations: 21.53 kB / 1.099 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007417/0.8841, allocations: 0.6003 MB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008216/0.8849, allocations: 0.6999 MB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002694/0.8852, allocations: 135.8 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004093/0.8856, allocations: 292.4 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Backend: time 5.31e-07/0.8856, allocations: 0 / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.8867, allocations: 262.3 kB / 1.101 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001159/0.8879, allocations: 0.8883 MB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01162/0.8995, allocations: 5.077 MB / 1.106 GB, free: 13.55 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches