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") [: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 10.0.0-master/package.mo): time 1.709/1.709, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009293/0.0009296, allocations: 181.2 kB / 490.8 MB, free: 1.898 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.063/1.063, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.000807/0.000807, allocations: 90.52 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.612e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.6117, allocations: 149.7 MB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001645/0.6119, allocations: 71.19 kB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1101/0.7219, allocations: 45.05 MB / 1.402 GB, free: 6.602 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.722, allocations: 7.312 kB / 1.402 GB, free: 6.602 MB / 0.823 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.0009039/0.7229, allocations: 0.6149 MB / 1.402 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.723, allocations: 9 kB / 1.402 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.7232, allocations: 56.88 kB / 1.402 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.724, allocations: 0.5332 MB / 1.403 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.724, allocations: 7.625 kB / 1.403 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7241, allocations: 25.5 kB / 1.403 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003165/0.7244, allocations: 226.8 kB / 1.403 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.7248, allocations: 297.1 kB / 1.404 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7248, allocations: 1.062 kB / 1.404 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.7248, allocations: 5.062 kB / 1.404 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7249, allocations: 11.08 kB / 1.404 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.7264, allocations: 1.118 MB / 1.405 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.7269, allocations: 474.6 kB / 1.405 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.727, allocations: 183.3 kB / 1.405 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.727, allocations: 0 / 1.405 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.7273, allocations: 279.8 kB / 1.406 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.7273, allocations: 0 / 1.406 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0005559/0.7279, allocations: 394.4 kB / 1.406 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.7279, allocations: 114.2 kB / 1.406 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.7284, allocations: 0.5244 MB / 1.407 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.7284, allocations: 37.08 kB / 1.407 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7286, allocations: 149.8 kB / 1.407 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.7286, allocations: 46.7 kB / 1.407 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.7286, allocations: 3.75 kB / 1.407 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7287, allocations: 359.5 kB / 1.407 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.7289, allocations: 126.8 kB / 1.407 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.7293, allocations: 0.6923 MB / 1.408 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.7297, allocations: 213.8 kB / 1.408 GB, free: 17.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7297, allocations: 4 kB / 1.408 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006486/0.7304, allocations: 433.6 kB / 1.409 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.7304, allocations: 4 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7304, allocations: 4 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7304, allocations: 8 kB / 1.409 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.7306, allocations: 35.66 kB / 1.409 GB, free: 17.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7306, allocations: 11.94 kB / 1.409 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.7316, allocations: 88.5 kB / 1.409 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.7317, allocations: 16.06 kB / 1.409 GB, free: 17.31 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.0001281/0.7318, allocations: 151.8 kB / 1.409 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.7318, allocations: 39.44 kB / 1.409 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.7319, allocations: 49.98 kB / 1.409 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7319, allocations: 4 kB / 1.409 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7319, allocations: 4 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7319, allocations: 7.906 kB / 1.409 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.7322, allocations: 363.9 kB / 1.409 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7322, allocations: 4 kB / 1.409 GB, free: 16.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.7322, allocations: 11.92 kB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7322, allocations: 0 / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7323, allocations: 7.25 kB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7323, allocations: 0 / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7323, allocations: 7.906 kB / 1.409 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004094/0.7327, allocations: 445.7 kB / 1.41 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.7328, allocations: 142.7 kB / 1.41 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.7328, allocations: 3.906 kB / 1.41 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.733, allocations: 19.98 kB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.7331, allocations: 32.83 kB / 1.41 GB, free: 16.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.7331, allocations: 12.09 kB / 1.41 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003138/0.7334, allocations: 414.2 kB / 1.41 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004149/0.7338, allocations: 107.9 kB / 1.41 GB, free: 15.7 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.0001797/0.734, allocations: 152.4 kB / 1.411 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.7344, allocations: 337.4 kB / 1.411 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7344, allocations: 3.938 kB / 1.411 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.7346, allocations: 182.9 kB / 1.411 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.7348, allocations: 36.17 kB / 1.411 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.7357, allocations: 0.6706 MB / 1.412 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.7362, allocations: 0.8841 MB / 1.413 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of SimCode: time 1.463e-06/0.7362, allocations: 0 / 1.413 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.01035/0.7466, allocations: 6.702 MB / 1.419 GB, free: 7.09 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