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.001303/0.001303, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001536/0.001536, allocations: 191 kB / 16.25 MB, free: 6.637 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 73.08 kB / 0.8986 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4265, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002588/0.4291, allocations: 0.9094 MB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.4312, allocations: 1.466 MB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.4313, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.4319, allocations: 191.6 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.432, allocations: 107.7 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.4331, allocations: 329 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008837/0.434, allocations: 0.8543 MB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.4342, allocations: 100.2 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.4346, allocations: 351.4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.4351, allocations: 267.2 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4352, allocations: 44 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.4355, allocations: 107.9 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.4359, allocations: 351.3 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.4362, allocations: 274.8 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.4372, allocations: 0.8964 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4372, allocations: 3.984 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4372, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4372, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 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.001946/0.4392, allocations: 0.8878 MB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.4392, allocations: 12.62 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.4395, allocations: 52.38 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.4404, allocations: 0.541 MB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.4404, allocations: 24.61 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4405, allocations: 32.38 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.4411, allocations: 314.9 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4411, allocations: 192 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4412, allocations: 11.94 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4412, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.4415, allocations: 223.8 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.4437, allocations: 1.195 MB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.4444, allocations: 471.7 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4447, allocations: 174.6 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4447, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.4453, allocations: 333.6 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.4453, allocations: 0 / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001097/0.4464, allocations: 0.6257 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4465, allocations: 130.7 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.4472, allocations: 0.5916 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.4473, allocations: 41.7 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.4476, allocations: 222.4 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.4477, allocations: 47.5 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.4479, allocations: 185.5 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4481, allocations: 354.8 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4483, allocations: 131.8 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009249/0.4492, allocations: 0.7219 MB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.4498, allocations: 304.5 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4498, allocations: 0 / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007418/0.4506, allocations: 424.8 kB / 1.066 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4506, allocations: 4 kB / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4506, allocations: 4 kB / 1.066 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4506, allocations: 11.94 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4508, allocations: 31.91 kB / 1.066 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4508, allocations: 4 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4522, allocations: 140.6 kB / 1.066 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4522, allocations: 12 kB / 1.066 GB, free: 9.785 MB / 0.8262 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.0003534/0.4526, allocations: 263.1 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4526, allocations: 35.53 kB / 1.067 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4527, allocations: 59.31 kB / 1.067 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4528, allocations: 4 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.4528, allocations: 3.984 kB / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4528, allocations: 0 / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.4533, allocations: 405.3 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4533, allocations: 256 / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.4534, allocations: 7.984 kB / 1.067 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4534, allocations: 4 kB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.4534, allocations: 11.94 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4534, allocations: 4 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4534, allocations: 4 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.4542, allocations: 0.5162 MB / 1.068 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4543, allocations: 132.5 kB / 1.068 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.4544, allocations: 11.92 kB / 1.068 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4546, allocations: 15.98 kB / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4547, allocations: 35.97 kB / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.4547, allocations: 15.98 kB / 1.068 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005361/0.4553, allocations: 431.1 kB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4553, allocations: 3.938 kB / 1.068 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005247/0.4558, allocations: 107.9 kB / 1.068 GB, free: 7.645 MB / 0.8262 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.0003522/0.4562, allocations: 145.5 kB / 1.068 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.4569, allocations: 371.6 kB / 1.069 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4569, allocations: 0 / 1.069 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.4572, allocations: 191.8 kB / 1.069 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4575, allocations: 33.95 kB / 1.069 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4589, allocations: 0.9215 MB / 1.07 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.4594, allocations: 0.8349 MB / 1.071 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.4596, allocations: 96.69 kB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.4597, allocations: 43.42 kB / 1.071 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.4598, allocations: 0 / 1.071 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.01504/0.4748, allocations: 7.925 MB / 1.079 GB, free: 13.12 MB / 0.8419 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