Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008137/0.008137, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001726/0.001726, allocations: 202.4 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.87/2.87, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.14 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4611, allocations: 151.6 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002804/0.464, allocations: 0.676 MB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.4669, allocations: 1.354 MB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.4671, allocations: 4 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.4678, allocations: 183.5 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.4682, allocations: 103.7 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.4694, allocations: 235 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.4705, allocations: 491.8 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.4706, allocations: 12 kB / 1.17 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.4713, allocations: 211.6 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.472, allocations: 211.5 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.4722, allocations: 20 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.4726, allocations: 79.94 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.4731, allocations: 255.5 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.4735, allocations: 155.3 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.4745, allocations: 478.4 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4745, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.776e-06/0.4745, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.4746, allocations: 7.938 kB / 1.171 GB, free: 2.445 MB / 0.92 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.00184/0.4764, allocations: 0.6461 MB / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.4765, allocations: 11.98 kB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.4767, allocations: 32.8 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.4777, allocations: 384.4 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.4777, allocations: 16.36 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.4778, allocations: 20.38 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.4782, allocations: 188.6 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4783, allocations: 4.125 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.4783, allocations: 3.938 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4783, allocations: 4 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.4786, allocations: 107.9 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.4793, allocations: 383.1 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.48, allocations: 319.6 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4801, allocations: 126.5 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4802, allocations: 0 / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007475/0.4809, allocations: 285.6 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.4809, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009005/0.4818, allocations: 0.4973 MB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.4819, allocations: 110.8 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.4824, allocations: 404.5 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.4825, allocations: 37.7 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.4827, allocations: 156.7 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.4827, allocations: 47.73 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.483, allocations: 113.6 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4831, allocations: 342.8 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4833, allocations: 91.89 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.484, allocations: 466.5 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.4845, allocations: 253.5 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4845, allocations: 0 / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000715/0.4852, allocations: 329.4 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4852, allocations: 11.94 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4853, allocations: 7.938 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4853, allocations: 4.125 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4855, allocations: 39.8 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4855, allocations: 4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.4863, allocations: 69.89 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.4863, allocations: 16.09 kB / 1.176 GB, free: 12.54 MB / 0.9356 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.0002428/0.4866, allocations: 191.9 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4866, allocations: 35.75 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.4868, allocations: 29.89 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4869, allocations: 4 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4869, allocations: 0 / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4869, allocations: 4 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.4873, allocations: 285.5 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4873, allocations: 3.938 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.4873, allocations: 7.938 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.4873, allocations: 7.938 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4874, allocations: 11.98 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4874, allocations: 0 / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4874, allocations: 0 / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.4881, allocations: 434.5 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4883, allocations: 101 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.4883, allocations: 11.94 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.4884, allocations: 4 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4885, allocations: 19.92 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4885, allocations: 15.98 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003032/0.4888, allocations: 295 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4888, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004114/0.4892, allocations: 79.88 kB / 1.178 GB, free: 10.93 MB / 0.9356 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.0002713/0.4895, allocations: 143.1 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.4901, allocations: 258.2 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4901, allocations: 0.8125 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.4903, allocations: 147.9 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4907, allocations: 25.39 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.4916, allocations: 0.5761 MB / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.4921, allocations: 0.7648 MB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.4922, allocations: 53.92 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.4923, allocations: 31.42 kB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.4923, allocations: 0 / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.01072/0.503, allocations: 5.033 MB / 1.185 GB, free: 3.895 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches