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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.734/1.734, allocations: 387.2 MB / 394.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009266, allocations: 190.3 kB / 487 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 6.742 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 97.16 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.494e-06, allocations: 4 kB / 1.066 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5034, allocations: 142.3 MB / 1.205 GB, free: 72.68 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.6483, allocations: 148.9 MB / 1.351 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.6485, allocations: 68.45 kB / 1.351 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.1218/0.7703, allocations: 45.05 MB / 1.395 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.7704, allocations: 11.94 kB / 1.395 GB, free: 1.316 MB / 0.8855 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.0007638/0.7711, allocations: 0.6046 MB / 1.395 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.7712, allocations: 12.03 kB / 1.395 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.7713, allocations: 55.38 kB / 1.395 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.7721, allocations: 0.5366 MB / 1.396 GB, free: 20 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.7721, allocations: 4 kB / 1.396 GB, free: 16 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.7722, allocations: 32.03 kB / 1.396 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003108/0.7726, allocations: 220.2 kB / 1.396 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.773, allocations: 306.4 kB / 1.396 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.773, allocations: 3.984 kB / 1.396 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.773, allocations: 7.906 kB / 1.396 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.773, allocations: 0 / 1.396 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.7746, allocations: 1.122 MB / 1.397 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.7752, allocations: 460 kB / 1.398 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.7754, allocations: 186.7 kB / 1.398 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.7754, allocations: 4 kB / 1.398 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.7758, allocations: 281.5 kB / 1.398 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.7758, allocations: 0 / 1.398 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.000723/0.7765, allocations: 387.4 kB / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.7766, allocations: 122.7 kB / 1.399 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.7772, allocations: 0.5166 MB / 1.399 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.7773, allocations: 33.7 kB / 1.399 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.7775, allocations: 152.4 kB / 1.4 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.7775, allocations: 55.34 kB / 1.4 GB, free: 12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.7776, allocations: 0 / 1.4 GB, free: 12 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7777, allocations: 362.8 kB / 1.4 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.7779, allocations: 127.8 kB / 1.4 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.7786, allocations: 0.6967 MB / 1.401 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.7791, allocations: 209.7 kB / 1.401 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7791, allocations: 0 / 1.401 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007809/0.7799, allocations: 439.1 kB / 1.401 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7799, allocations: 4 kB / 1.401 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7799, allocations: 4 kB / 1.401 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.78, allocations: 6.156 kB / 1.401 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7801, allocations: 39.92 kB / 1.401 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7801, allocations: 11.92 kB / 1.401 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7812, allocations: 84.19 kB / 1.402 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.7813, allocations: 12 kB / 1.402 GB, free: 9.836 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 () * 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.0001434/0.7814, allocations: 149.2 kB / 1.402 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.7815, allocations: 47.52 kB / 1.402 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.7816, allocations: 51.38 kB / 1.402 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7816, allocations: 7.938 kB / 1.402 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7816, allocations: 3.906 kB / 1.402 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7816, allocations: 3.984 kB / 1.402 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.7819, allocations: 369.9 kB / 1.402 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7819, allocations: 0 / 1.402 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.782, allocations: 7.938 kB / 1.402 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.782, allocations: 4 kB / 1.402 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.782, allocations: 15.89 kB / 1.402 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.782, allocations: 4 kB / 1.402 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.782, allocations: 0 / 1.402 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005175/0.7825, allocations: 444 kB / 1.403 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7826, allocations: 136.5 kB / 1.403 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.7827, allocations: 11.98 kB / 1.403 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7829, allocations: 15.98 kB / 1.403 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.7829, allocations: 23.97 kB / 1.403 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.783, allocations: 23.98 kB / 1.403 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0003761/0.7834, allocations: 407.1 kB / 1.403 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004473/0.7838, allocations: 103.9 kB / 1.403 GB, free: 7.949 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 () * 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.0002061/0.784, allocations: 153.7 kB / 1.403 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.7845, allocations: 336.1 kB / 1.404 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7845, allocations: 0 / 1.404 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.7847, allocations: 192.6 kB / 1.404 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.7849, allocations: 40.34 kB / 1.404 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.7859, allocations: 0.6718 MB / 1.405 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.7863, allocations: 0.8797 MB / 1.405 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.7863, allocations: 4 kB / 1.405 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of Templates: time 0.01013/0.7965, allocations: 6.696 MB / 1.412 GB, free: 15.07 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