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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 175.6 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008817, allocations: 95.52 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.914e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.406, allocations: 149.7 MB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.406, allocations: 69.66 kB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1173/1.523, allocations: 46.04 MB / 1.404 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.176e-06/1.523, allocations: 0 / 1.404 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.41e-05/1.523, allocations: 8 kB / 1.404 GB, free: 22.26 MB / 0.8386 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.001861/1.525, allocations: 0.6189 MB / 1.404 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.525, allocations: 16.02 kB / 1.404 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/1.526, allocations: 54.75 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.527, allocations: 0.5235 MB / 1.405 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/1.527, allocations: 7.984 kB / 1.405 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/1.527, allocations: 27 kB / 1.405 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003284/1.528, allocations: 207.9 kB / 1.405 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/1.528, allocations: 297 kB / 1.405 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.528, allocations: 0 / 1.405 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/1.528, allocations: 8 kB / 1.405 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.528, allocations: 0 / 1.405 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/1.53, allocations: 1.134 MB / 1.406 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/1.53, allocations: 461.7 kB / 1.407 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/1.531, allocations: 188.2 kB / 1.407 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.531, allocations: 4 kB / 1.407 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/1.531, allocations: 324 kB / 1.407 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/1.531, allocations: 4 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0008787/1.532, allocations: 489.8 kB / 1.408 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.532, allocations: 118.7 kB / 1.408 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/1.533, allocations: 0.5221 MB / 1.408 GB, free: 18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.533, allocations: 33.7 kB / 1.408 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/1.533, allocations: 208.7 kB / 1.409 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/1.533, allocations: 53.66 kB / 1.409 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.533, allocations: 4 kB / 1.409 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.533, allocations: 362.4 kB / 1.409 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/1.534, allocations: 120 kB / 1.409 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/1.534, allocations: 0.6908 MB / 1.41 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/1.535, allocations: 205 kB / 1.41 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.535, allocations: 0 / 1.41 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007656/1.535, allocations: 425.3 kB / 1.41 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.535, allocations: 8 kB / 1.41 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.535, allocations: 4 kB / 1.41 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.536, allocations: 7.984 kB / 1.41 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/1.536, allocations: 39.48 kB / 1.411 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.536, allocations: 4.234 kB / 1.411 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.537, allocations: 88.25 kB / 1.411 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/1.537, allocations: 15.62 kB / 1.411 GB, free: 15.9 MB / 0.8386 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/1.537, allocations: 142 kB / 1.411 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/1.537, allocations: 47.48 kB / 1.411 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/1.537, allocations: 49.36 kB / 1.411 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.537, allocations: 4 kB / 1.411 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.537, allocations: 0 / 1.411 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.537, allocations: 4 kB / 1.411 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/1.538, allocations: 368.6 kB / 1.411 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.538, allocations: 0 / 1.411 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/1.538, allocations: 11.92 kB / 1.411 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.538, allocations: 0 / 1.411 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.538, allocations: 11.2 kB / 1.411 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.538, allocations: 7.984 kB / 1.411 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.538, allocations: 4 kB / 1.411 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/1.538, allocations: 0.5337 MB / 1.412 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/1.539, allocations: 138.1 kB / 1.412 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/1.539, allocations: 7.984 kB / 1.412 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.539, allocations: 23.48 kB / 1.412 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/1.539, allocations: 30.66 kB / 1.412 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/1.539, allocations: 15.98 kB / 1.412 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005129/1.539, allocations: 413.1 kB / 1.412 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.539, allocations: 0 / 1.412 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00058/1.54, allocations: 103.9 kB / 1.412 GB, free: 14.23 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003102/1.54, allocations: 161.4 kB / 1.413 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005192/1.541, allocations: 330.3 kB / 1.413 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.541, allocations: 0 / 1.413 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.541, allocations: 177.3 kB / 1.413 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.541, allocations: 45.78 kB / 1.413 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.542, allocations: 0.6654 MB / 1.414 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.543, allocations: 0.8383 MB / 1.415 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003093/1.543, allocations: 91.25 kB / 1.415 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/1.543, allocations: 35.42 kB / 1.415 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.543, allocations: 0 / 1.415 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.01178/1.555, allocations: 6.567 MB / 1.421 GB, free: 5.66 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches