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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001501/0.001501, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 190.9 kB / 16.67 MB, free: 6.57 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.674/1.674, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 60.09 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4905, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002856/0.4935, allocations: 0.6816 MB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.4963, allocations: 1.342 MB / 1.228 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.4964, allocations: 4 kB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.4972, allocations: 187.5 kB / 1.228 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.4974, allocations: 103.7 kB / 1.228 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4985, allocations: 229.6 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.4993, allocations: 0.4996 MB / 1.229 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.4994, allocations: 11.98 kB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.4997, allocations: 203.7 kB / 1.229 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.5002, allocations: 203.6 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.5003, allocations: 20 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.5007, allocations: 87.88 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.5012, allocations: 263.5 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.5015, allocations: 147.3 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.5023, allocations: 474.5 kB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5023, allocations: 0 / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.052e-06/0.5023, allocations: 0 / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.5024, allocations: 11.94 kB / 1.23 GB, free: 4.746 MB / 0.9825 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.001496/0.5039, allocations: 0.646 MB / 1.231 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5039, allocations: 8.031 kB / 1.231 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.5041, allocations: 32.8 kB / 1.231 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.5048, allocations: 384.3 kB / 1.231 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.5048, allocations: 12.38 kB / 1.231 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.5049, allocations: 24.36 kB / 1.231 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.5053, allocations: 188.6 kB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5053, allocations: 192 / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.5053, allocations: 7.938 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.5053, allocations: 4 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.5055, allocations: 107.9 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.5061, allocations: 383.1 kB / 1.232 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.5066, allocations: 319.6 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.5068, allocations: 122.6 kB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.5068, allocations: 0 / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.5074, allocations: 291.4 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.083e-06/0.5074, allocations: 0 / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001097/0.5085, allocations: 0.5011 MB / 1.233 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5087, allocations: 118.8 kB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.5093, allocations: 400.5 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5094, allocations: 33.7 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.5096, allocations: 156.8 kB / 1.234 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.5097, allocations: 51.61 kB / 1.234 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.51, allocations: 117.6 kB / 1.234 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5102, allocations: 338.8 kB / 1.234 GB, free: 280 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5103, allocations: 91.94 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.5111, allocations: 467 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.5115, allocations: 253.5 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5116, allocations: 7.938 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007081/0.5123, allocations: 329 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5123, allocations: 11.94 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5123, allocations: 4 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.5124, allocations: 4.406 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.5126, allocations: 35.92 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5126, allocations: 4.625 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.5133, allocations: 63.86 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.5134, allocations: 15.98 kB / 1.235 GB, free: 14.83 MB / 0.9981 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.0002563/0.5136, allocations: 202.2 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.5137, allocations: 35.75 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.5138, allocations: 29.89 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5138, allocations: 7.938 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5138, allocations: 3.938 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.5138, allocations: 4 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.5142, allocations: 281.5 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5142, allocations: 0 / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.5142, allocations: 4.125 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.5142, allocations: 11.88 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.5143, allocations: 15.98 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5143, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5143, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.515, allocations: 436.4 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5152, allocations: 104.9 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.5152, allocations: 11.92 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.5153, allocations: 8 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.5154, allocations: 15.98 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.5155, allocations: 11.98 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003984/0.5159, allocations: 291 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5159, allocations: 0 / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005609/0.5165, allocations: 79.88 kB / 1.237 GB, free: 13.22 MB / 0.9981 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.0004444/0.5169, allocations: 139.1 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.5176, allocations: 259.7 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5176, allocations: 0 / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.5178, allocations: 140.2 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.5182, allocations: 31.48 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5195, allocations: 0.5731 MB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.5201, allocations: 0.7637 MB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.5203, allocations: 53.92 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.5204, allocations: 23.44 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.5204, allocations: 0 / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.01301/0.5334, allocations: 5.025 MB / 1.244 GB, free: 6.227 MB / 0.9981 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