Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.006343/0.006343, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001403/0.001404, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.994/2.994, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3899, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001998/0.392, allocations: 0.8488 MB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3939, allocations: 1.471 MB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.3939, allocations: 0 / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.3945, allocations: 195.5 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3946, allocations: 115.6 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.3956, allocations: 361.5 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.3964, allocations: 0.8777 MB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.3966, allocations: 100.2 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.3969, allocations: 343.4 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3973, allocations: 267.3 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3974, allocations: 48 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3976, allocations: 103.9 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.398, allocations: 351.2 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.3983, allocations: 270.8 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007667/0.3991, allocations: 0.9115 MB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3991, allocations: 0 / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3991, allocations: 4 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.3991, allocations: 0 / 1.214 GB, free: 3.379 MB / 0.9669 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.001463/0.4006, allocations: 0.8918 MB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4006, allocations: 8.625 kB / 1.215 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.4008, allocations: 52.38 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.4017, allocations: 0.5409 MB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4018, allocations: 24.59 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.4019, allocations: 40.31 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4023, allocations: 306.2 kB / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4024, allocations: 192 / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.4024, allocations: 7.938 kB / 1.216 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4024, allocations: 4 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.4027, allocations: 223.8 kB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.4047, allocations: 1.18 MB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4053, allocations: 467.7 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4056, allocations: 182.6 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4057, allocations: 8 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004652/0.4062, allocations: 321.6 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.4062, allocations: 4 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.0009231/0.4071, allocations: 0.6258 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.4072, allocations: 118.7 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.4078, allocations: 0.5993 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/0.4079, allocations: 45.7 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4081, allocations: 213.4 kB / 1.22 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.4082, allocations: 51.36 kB / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.4084, allocations: 185.5 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4086, allocations: 362.8 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4087, allocations: 127.8 kB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.4095, allocations: 0.7181 MB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.4098, allocations: 304.5 kB / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4099, allocations: 0 / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006124/0.4105, allocations: 424.7 kB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4105, allocations: 8 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4105, allocations: 4 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4105, allocations: 4 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4107, allocations: 36.11 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4107, allocations: 4.375 kB / 1.222 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.412, allocations: 140.5 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.412, allocations: 8 kB / 1.222 GB, free: 10.71 MB / 0.9825 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.0002889/0.4123, allocations: 265.6 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.4124, allocations: 39.53 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.4125, allocations: 55.36 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4125, allocations: 11.88 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4125, allocations: 0 / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4125, allocations: 0 / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.4129, allocations: 405.2 kB / 1.223 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4129, allocations: 0 / 1.223 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.4129, allocations: 4 kB / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4129, allocations: 8 kB / 1.223 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.413, allocations: 11.98 kB / 1.223 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.413, allocations: 3.938 kB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.413, allocations: 7.938 kB / 1.223 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.4136, allocations: 0.5121 MB / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4137, allocations: 120.7 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.4138, allocations: 15.98 kB / 1.223 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4139, allocations: 15.92 kB / 1.223 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4141, allocations: 35.95 kB / 1.223 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.4141, allocations: 15.94 kB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004482/0.4146, allocations: 431.1 kB / 1.224 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4146, allocations: 0 / 1.224 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000427/0.415, allocations: 115.9 kB / 1.224 GB, free: 8.559 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002524/0.4153, allocations: 145.4 kB / 1.224 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.4158, allocations: 363.2 kB / 1.224 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4158, allocations: 0 / 1.224 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.416, allocations: 187.9 kB / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4164, allocations: 38.64 kB / 1.224 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.4175, allocations: 0.8271 MB / 1.225 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4179, allocations: 0.831 MB / 1.226 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.4182, allocations: 98.98 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.4183, allocations: 39.44 kB / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.4183, allocations: 0 / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.0146/0.4329, allocations: 8.171 MB / 1.234 GB, free: 13.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches