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.434/2.434, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001292/0.001293, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.593/1.593, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 107.7 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.861e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.142, allocations: 148.9 MB / 1.351 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.143, allocations: 73.66 kB / 1.351 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1136/1.256, allocations: 46.01 MB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.345e-06/1.256, allocations: 0 / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.786e-05/1.256, allocations: 15.16 kB / 1.396 GB, free: 24.25 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.001015/1.257, allocations: 0.6292 MB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.257, allocations: 7.531 kB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/1.258, allocations: 58.42 kB / 1.397 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/1.258, allocations: 0.521 MB / 1.398 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.258, allocations: 10.78 kB / 1.398 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/1.258, allocations: 31.17 kB / 1.398 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/1.259, allocations: 215.2 kB / 1.398 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/1.259, allocations: 297.1 kB / 1.398 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.259, allocations: 0 / 1.398 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/1.259, allocations: 0 / 1.398 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.259, allocations: 3.875 kB / 1.398 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.261, allocations: 1.131 MB / 1.399 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/1.261, allocations: 455.2 kB / 1.4 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.261, allocations: 174.7 kB / 1.4 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/1.261, allocations: 11.78 kB / 1.4 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/1.262, allocations: 323.7 kB / 1.4 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/1.262, allocations: 3.938 kB / 1.4 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0007273/1.262, allocations: 492.5 kB / 1.401 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.263, allocations: 117.3 kB / 1.401 GB, free: 22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/1.263, allocations: 0.5226 MB / 1.401 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/1.263, allocations: 33.58 kB / 1.401 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/1.263, allocations: 208.7 kB / 1.402 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/1.263, allocations: 61.55 kB / 1.402 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/1.263, allocations: 0 / 1.402 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.264, allocations: 359.5 kB / 1.402 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.264, allocations: 122.2 kB / 1.402 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/1.264, allocations: 0.6979 MB / 1.403 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/1.265, allocations: 198.8 kB / 1.403 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.265, allocations: 7.812 kB / 1.403 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006739/1.265, allocations: 425.8 kB / 1.403 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.265, allocations: 7.812 kB / 1.403 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.265, allocations: 7.875 kB / 1.403 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.265, allocations: 3.906 kB / 1.403 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/1.266, allocations: 35.09 kB / 1.403 GB, free: 20.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.266, allocations: 3.844 kB / 1.403 GB, free: 20.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.267, allocations: 82.88 kB / 1.403 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.267, allocations: 18.88 kB / 1.403 GB, free: 20.5 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.0001951/1.267, allocations: 153 kB / 1.404 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/1.267, allocations: 46.73 kB / 1.404 GB, free: 20.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/1.267, allocations: 53.14 kB / 1.404 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.267, allocations: 7.875 kB / 1.404 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.267, allocations: 0 / 1.404 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.267, allocations: 0 / 1.404 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/1.267, allocations: 368.5 kB / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.267, allocations: 0 / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/1.267, allocations: 15.17 kB / 1.404 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.267, allocations: 7.906 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.267, allocations: 3.812 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.267, allocations: 3.953 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.267, allocations: 3.906 kB / 1.404 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/1.268, allocations: 0.5357 MB / 1.405 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/1.268, allocations: 138.5 kB / 1.405 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/1.268, allocations: 7.859 kB / 1.405 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/1.268, allocations: 11.67 kB / 1.405 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/1.268, allocations: 26.41 kB / 1.405 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/1.268, allocations: 23.14 kB / 1.405 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003756/1.269, allocations: 412.4 kB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.269, allocations: 0 / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005098/1.269, allocations: 108.3 kB / 1.405 GB, free: 19.59 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.000216/1.27, allocations: 147.8 kB / 1.405 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004224/1.27, allocations: 333.9 kB / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.27, allocations: 0 / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/1.27, allocations: 186.6 kB / 1.406 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.27, allocations: 36.88 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/1.271, allocations: 0.6584 MB / 1.407 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/1.272, allocations: 0.8422 MB / 1.407 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002613/1.272, allocations: 96.55 kB / 1.408 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/1.272, allocations: 41.77 kB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.272, allocations: 3.938 kB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.009883/1.282, allocations: 6.563 MB / 1.414 GB, free: 12.7 MB / 0.8386 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