Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00107/0.00107, allocations: 173.1 kB / 498.1 MB, free: 5.742 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.657/1.657, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001053/0.001053, allocations: 94.77 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 9.594 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2964, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.4988, allocations: 149.7 MB / 1.369 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4991, allocations: 75.95 kB / 1.369 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7259/1.225, allocations: 46.18 MB / 1.414 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.853e-06/1.225, allocations: 0 / 1.414 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.029e-05/1.225, allocations: 7.469 kB / 1.414 GB, free: 178.1 MB / 0.9011 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.001865/1.227, allocations: 0.7294 MB / 1.415 GB, free: 177.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.227, allocations: 9.812 kB / 1.415 GB, free: 177.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/1.227, allocations: 54.14 kB / 1.415 GB, free: 177.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.229, allocations: 0.5307 MB / 1.416 GB, free: 177.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/1.229, allocations: 24.2 kB / 1.416 GB, free: 177.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/1.229, allocations: 37.64 kB / 1.416 GB, free: 177.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/1.23, allocations: 315 kB / 1.416 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.23, allocations: 7.906 kB / 1.416 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/1.23, allocations: 1.938 kB / 1.416 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.23, allocations: 3.25 kB / 1.416 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/1.23, allocations: 227.2 kB / 1.416 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/1.233, allocations: 1.177 MB / 1.417 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/1.233, allocations: 471.7 kB / 1.418 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/1.234, allocations: 5.719 kB / 1.418 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/1.234, allocations: 340.2 kB / 1.418 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/1.234, allocations: 2.594 kB / 1.418 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.001276/1.235, allocations: 0.636 MB / 1.419 GB, free: 176.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.235, allocations: 113.7 kB / 1.419 GB, free: 176.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/1.236, allocations: 0.543 MB / 1.419 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/1.236, allocations: 49.03 kB / 1.419 GB, free: 176.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/1.237, allocations: 216.5 kB / 1.42 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/1.237, allocations: 50.92 kB / 1.42 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/1.237, allocations: 5.531 kB / 1.42 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.237, allocations: 366.2 kB / 1.42 GB, free: 175.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.237, allocations: 129.8 kB / 1.42 GB, free: 175.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/1.238, allocations: 0.7158 MB / 1.421 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/1.238, allocations: 188 kB / 1.421 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.238, allocations: 6.125 kB / 1.421 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000763/1.239, allocations: 420.3 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.239, allocations: 6.938 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.239, allocations: 4.281 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.239, allocations: 9.219 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/1.239, allocations: 33.42 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.239, allocations: 9.609 kB / 1.421 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.241, allocations: 94.08 kB / 1.422 GB, free: 175.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/1.241, allocations: 17.36 kB / 1.422 GB, free: 175.3 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005019/1.241, allocations: 256.8 kB / 1.422 GB, free: 175.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.241, allocations: 44.31 kB / 1.422 GB, free: 175.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/1.242, allocations: 50.75 kB / 1.422 GB, free: 175.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.242, allocations: 3.375 kB / 1.422 GB, free: 175.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.242, allocations: 7.875 kB / 1.422 GB, free: 175.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.242, allocations: 6.25 kB / 1.422 GB, free: 175.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/1.242, allocations: 410.1 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.242, allocations: 1.438 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/1.242, allocations: 12.16 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.242, allocations: 2.969 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.242, allocations: 6.25 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.242, allocations: 4.484 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.242, allocations: 1.984 kB / 1.422 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/1.243, allocations: 0.5458 MB / 1.423 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.244, allocations: 141.2 kB / 1.423 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/1.244, allocations: 11.5 kB / 1.423 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.244, allocations: 15.97 kB / 1.423 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.244, allocations: 30.83 kB / 1.423 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/1.244, allocations: 22.94 kB / 1.423 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008299/1.245, allocations: 428 kB / 1.423 GB, free: 174.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/1.245, allocations: 0 / 1.423 GB, free: 174.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008891/1.246, allocations: 123.3 kB / 1.424 GB, free: 174.6 MB / 0.9011 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 (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.0004539/1.246, allocations: 159.7 kB / 1.424 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008387/1.247, allocations: 353.5 kB / 1.424 GB, free: 174.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.247, allocations: 0 / 1.424 GB, free: 174.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/1.248, allocations: 187 kB / 1.424 GB, free: 174.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/1.248, allocations: 40.27 kB / 1.424 GB, free: 174.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/1.249, allocations: 0.8906 MB / 1.425 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/1.25, allocations: 0.8447 MB / 1.426 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003829/1.25, allocations: 95.64 kB / 1.426 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.251, allocations: 39.98 kB / 1.426 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/1.251, allocations: 0 / 1.426 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.01493/1.265, allocations: 7.332 MB / 1.433 GB, free: 171.8 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches