Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,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.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001471/0.001471, allocations: 175.1 kB / 498.1 MB, free: 5.672 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.48/1.48, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0008467/0.0008468, allocations: 102.5 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 10.25 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.4947, allocations: 149.7 MB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.495, allocations: 71.95 kB / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/0.6274, allocations: 46.19 MB / 1.414 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6274, allocations: 0 / 1.414 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.634e-05/0.6275, allocations: 8 kB / 1.414 GB, free: 14.02 MB / 0.9167 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.001844/0.6293, allocations: 0.7139 MB / 1.415 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6294, allocations: 8.031 kB / 1.415 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.6298, allocations: 59.44 kB / 1.415 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.6312, allocations: 0.5327 MB / 1.416 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.6313, allocations: 24.23 kB / 1.416 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.6315, allocations: 36 kB / 1.416 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.6321, allocations: 312.4 kB / 1.416 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6321, allocations: 0 / 1.416 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.6322, allocations: 4 kB / 1.416 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.6322, allocations: 8 kB / 1.416 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.6326, allocations: 223.8 kB / 1.416 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.6349, allocations: 1.184 MB / 1.417 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.6356, allocations: 472.1 kB / 1.418 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.6356, allocations: 3.938 kB / 1.418 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.6361, allocations: 345.1 kB / 1.418 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 2.053e-06/0.6361, allocations: 0 / 1.418 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.001128/0.6372, allocations: 0.6413 MB / 1.419 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.6373, allocations: 118.8 kB / 1.419 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.6381, allocations: 0.5361 MB / 1.419 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.6382, allocations: 49.69 kB / 1.419 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.6385, allocations: 223.4 kB / 1.42 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.6385, allocations: 47.41 kB / 1.42 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.6385, allocations: 4 kB / 1.42 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6387, allocations: 358.8 kB / 1.42 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.6389, allocations: 135.7 kB / 1.42 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.6397, allocations: 0.7166 MB / 1.421 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.64, allocations: 177 kB / 1.421 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.64, allocations: 7.953 kB / 1.421 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006801/0.6407, allocations: 428.6 kB / 1.421 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6407, allocations: 4 kB / 1.421 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6407, allocations: 4 kB / 1.421 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.6408, allocations: 8 kB / 1.421 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.6409, allocations: 28.3 kB / 1.421 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.641, allocations: 15.94 kB / 1.421 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.6421, allocations: 96.06 kB / 1.422 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.6422, allocations: 19.98 kB / 1.422 GB, free: 6.078 MB / 0.9167 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.0003567/0.6425, allocations: 267.3 kB / 1.422 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.6426, allocations: 43.39 kB / 1.422 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.6427, allocations: 51.38 kB / 1.422 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6427, allocations: 4 kB / 1.422 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6428, allocations: 0 / 1.422 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6428, allocations: 4.734 kB / 1.422 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.6432, allocations: 405.3 kB / 1.422 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6432, allocations: 4 kB / 1.422 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.6433, allocations: 11.89 kB / 1.422 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6433, allocations: 0 / 1.422 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6433, allocations: 7.984 kB / 1.422 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6433, allocations: 7.938 kB / 1.422 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6433, allocations: 0 / 1.422 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.644, allocations: 0.5502 MB / 1.423 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6442, allocations: 148.5 kB / 1.423 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.6443, allocations: 0 / 1.423 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.6444, allocations: 19.98 kB / 1.423 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.6445, allocations: 31.95 kB / 1.423 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.6446, allocations: 12.25 kB / 1.423 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005257/0.6451, allocations: 431 kB / 1.423 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6451, allocations: 4 kB / 1.423 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005708/0.6457, allocations: 119.9 kB / 1.424 GB, free: 3.875 MB / 0.9167 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.0003138/0.646, allocations: 165 kB / 1.424 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.6466, allocations: 349 kB / 1.424 GB, free: 3.363 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6466, allocations: 4.125 kB / 1.424 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.6469, allocations: 187.8 kB / 1.424 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6472, allocations: 37.92 kB / 1.424 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.6485, allocations: 0.883 MB / 1.425 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.649, allocations: 0.8434 MB / 1.426 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.6493, allocations: 94.92 kB / 1.426 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.6494, allocations: 39.42 kB / 1.426 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.6494, allocations: 0 / 1.426 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of Templates: time 0.545/1.194, allocations: 7.309 MB / 1.433 GB, free: 199 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches