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.008559/0.008559, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.00182/0.00182, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002075/1.13, allocations: 0.6878 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0019/1.132, allocations: 1.353 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/1.132, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/1.133, allocations: 191.6 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/1.133, allocations: 95.67 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/1.134, allocations: 243 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005271/1.134, allocations: 495.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/1.134, allocations: 8 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/1.135, allocations: 203.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/1.135, allocations: 199.6 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/1.135, allocations: 35.92 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/1.135, allocations: 75.95 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/1.136, allocations: 259.5 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/1.136, allocations: 147.3 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/1.136, allocations: 478.5 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.136, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/1.136, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.136, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 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.001014/1.137, allocations: 0.6364 MB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.137, allocations: 12.03 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/1.137, allocations: 28.66 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.138, allocations: 388 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.138, allocations: 16.36 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/1.138, allocations: 20.38 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/1.138, allocations: 192.7 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.138, allocations: 4.188 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.139, allocations: 7.938 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.139, allocations: 0 / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/1.139, allocations: 115.9 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/1.139, allocations: 383.1 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/1.14, allocations: 315.6 kB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.14, allocations: 126.6 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/1.14, allocations: 0 / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/1.14, allocations: 281.6 kB / 1.214 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/1.14, allocations: 3.938 kB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008446/1.141, allocations: 0.5009 MB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/1.141, allocations: 110.8 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/1.142, allocations: 400.5 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/1.142, allocations: 41.7 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.142, allocations: 152.8 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/1.142, allocations: 43.44 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.142, allocations: 113.6 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.142, allocations: 350.8 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/1.142, allocations: 83.95 kB / 1.216 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/1.143, allocations: 460.2 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.143, allocations: 257.4 kB / 1.217 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.143, allocations: 4 kB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000488/1.144, allocations: 328.9 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.144, allocations: 10.12 kB / 1.217 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.144, allocations: 4 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.144, allocations: 8 kB / 1.217 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.144, allocations: 27.92 kB / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.144, allocations: 7.938 kB / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/1.145, allocations: 80.84 kB / 1.217 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/1.145, allocations: 12 kB / 1.217 GB, free: 3.27 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.0002251/1.145, allocations: 192 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/1.145, allocations: 27.66 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/1.145, allocations: 33.89 kB / 1.218 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.145, allocations: 8 kB / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.145, allocations: 0 / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.145, allocations: 0 / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/1.145, allocations: 293.3 kB / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.145, allocations: 0 / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/1.145, allocations: 4 kB / 1.218 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.145, allocations: 3.938 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.146, allocations: 11.98 kB / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.146, allocations: 4 kB / 1.218 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.146, allocations: 0 / 1.218 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/1.146, allocations: 434.2 kB / 1.218 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/1.146, allocations: 108.8 kB / 1.218 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/1.146, allocations: 7.938 kB / 1.218 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/1.146, allocations: 4 kB / 1.218 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.146, allocations: 12.22 kB / 1.218 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/1.146, allocations: 19.98 kB / 1.218 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003239/1.147, allocations: 291 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.147, allocations: 0 / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003944/1.147, allocations: 76 kB / 1.219 GB, free: 1.676 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.0002735/1.147, allocations: 143.1 kB / 1.219 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004575/1.148, allocations: 264.4 kB / 1.219 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.148, allocations: 0 / 1.219 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/1.148, allocations: 155.8 kB / 1.219 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.148, allocations: 19.09 kB / 1.219 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.149, allocations: 0.5663 MB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/1.15, allocations: 0.7675 MB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001578/1.15, allocations: 53.81 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/1.15, allocations: 27.44 kB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.15, allocations: 0 / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.009715/1.16, allocations: 5.043 MB / 1.226 GB, free: 10.66 MB / 0.9512 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