Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") [: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 7.0.3-maint.7.0.x/package.mo): time 1.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 193.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 88.31 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.983e-06, allocations: 4 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1698, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5556/0.7254, allocations: 193 MB / 1.073 GB, free: 12.55 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.7257, allocations: 117 kB / 1.073 GB, free: 12.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3283/1.054, allocations: 144.8 MB / 1.215 GB, free: 4.152 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001174/1.054, allocations: 79.98 kB / 1.215 GB, free: 4.074 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.007007/1.061, allocations: 3.189 MB / 1.218 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.061, allocations: 8.031 kB / 1.218 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/1.074, allocations: 1.778 MB / 1.219 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/1.08, allocations: 2.33 MB / 1.222 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.08, allocations: 128 kB / 1.222 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006538/1.08, allocations: 220 kB / 1.222 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009487/1.09, allocations: 5.264 MB / 1.227 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.101, allocations: 6.044 MB / 1.233 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-05/1.101, allocations: 7.906 kB / 1.233 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/1.101, allocations: 0 / 1.233 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005073/1.102, allocations: 326.6 kB / 1.233 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3714/1.473, allocations: 28.3 MB / 1.261 GB, free: 178 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/1.476, allocations: 2.523 MB / 1.264 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.478, allocations: 1.616 MB / 1.265 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/1.478, allocations: 127.4 kB / 1.265 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/1.478, allocations: 68.77 kB / 1.265 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.276e-06/1.478, allocations: 0 / 1.265 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.02697/1.505, allocations: 13.23 MB / 1.278 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.505, allocations: 236.5 kB / 1.278 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.507, allocations: 1.36 MB / 1.28 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/1.507, allocations: 25.7 kB / 1.28 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/1.508, allocations: 1.606 MB / 1.281 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/1.508, allocations: 0.7282 MB / 1.282 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.508, allocations: 3.5 kB / 1.282 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.508, allocations: 440.9 kB / 1.283 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/1.511, allocations: 1.972 MB / 1.284 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/1.513, allocations: 3.067 MB / 1.287 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/1.517, allocations: 2.905 MB / 1.29 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.517, allocations: 10.72 kB / 1.29 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01355/1.531, allocations: 7.466 MB / 1.298 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002405/1.533, allocations: 14.07 MB / 1.311 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/1.533, allocations: 37.09 kB / 1.311 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/1.545, allocations: 3.171 MB / 1.314 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/1.549, allocations: 0.8292 MB / 1.315 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.565, allocations: 11.02 MB / 1.326 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/1.569, allocations: 372.3 kB / 1.326 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/1.57, allocations: 203.9 kB / 1.327 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.57, allocations: 3.562 kB / 1.327 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007638/1.577, allocations: 5.043 MB / 1.332 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-05/1.577, allocations: 37.56 kB / 1.332 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.684e-05/1.578, allocations: 60.41 kB / 1.332 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/1.583, allocations: 1.091 MB / 1.333 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-05/1.583, allocations: 82.05 kB / 1.333 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/1.586, allocations: 316.2 kB / 1.333 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/1.586, allocations: 200.4 kB / 1.333 GB, free: 154.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.000679/1.587, allocations: 209 kB / 1.333 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/1.587, allocations: 186 kB / 1.334 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.601, allocations: 6.664 MB / 1.34 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.601, allocations: 21.94 kB / 1.34 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.601, allocations: 11.06 kB / 1.34 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/1.601, allocations: 12.53 kB / 1.34 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/1.62, allocations: 11.29 MB / 1.351 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.62, allocations: 7.75 kB / 1.351 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/1.623, allocations: 0.5078 MB / 1.352 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/1.636, allocations: 3.645 MB / 1.355 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/1.637, allocations: 58.5 kB / 1.355 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/1.654, allocations: 10.85 MB / 1.366 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.654, allocations: 15.16 kB / 1.366 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01303/1.667, allocations: 7.059 MB / 1.373 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.668, allocations: 0.6739 MB / 1.373 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/1.669, allocations: 17.41 kB / 1.373 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/1.672, allocations: 342.8 kB / 1.374 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/1.672, allocations: 147 kB / 1.374 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.673, allocations: 121 kB / 1.374 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001481/1.674, allocations: 0.9929 MB / 1.375 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00486/1.679, allocations: 1.408 MB / 1.376 GB, free: 148.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 152 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003824/1.679, allocations: 156.7 kB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.692, allocations: 7.686 MB / 1.384 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.692, allocations: 2 kB / 1.384 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.699, allocations: 2.707 MB / 1.387 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.701, allocations: 168.2 kB / 1.387 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.72, allocations: 7.427 MB / 1.394 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/1.723, allocations: 3.128 MB / 1.397 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.693e-06/1.723, allocations: 0 / 1.397 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.08316/1.806, allocations: 66.87 MB / 1.462 GB, free: 83.32 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches