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.BalancedStepUp.DY.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.BalancedStepUp.DY,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.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY,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.BalancedStepUp.DY") [: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.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.3 kB / 316 MB, free: 7.957 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.092/1.092, allocations: 205.1 MB / 0.5667 GB, free: 3.363 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 79.41 kB / 0.671 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 0.7808 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1677, allocations: 106.3 MB / 0.8846 GB, free: 336 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5426/0.7104, allocations: 193.4 MB / 1.073 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.7108, allocations: 110.4 kB / 1.074 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of FrontEnd: time 0.3144/1.025, allocations: 138.7 MB / 1.209 GB, free: 68 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001514/1.025, allocations: 76.05 kB / 1.209 GB, free: 15.99 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01018/1.036, allocations: 3.059 MB / 1.212 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.036, allocations: 8.031 kB / 1.212 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/1.048, allocations: 1.763 MB / 1.214 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005161/1.054, allocations: 2.244 MB / 1.216 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.054, allocations: 116 kB / 1.216 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/1.054, allocations: 211.9 kB / 1.216 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008796/1.063, allocations: 5.15 MB / 1.221 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008939/1.072, allocations: 5.787 MB / 1.227 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.672e-05/1.072, allocations: 0 / 1.227 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/1.073, allocations: 15.92 kB / 1.227 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004983/1.073, allocations: 310.2 kB / 1.227 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3261/1.399, allocations: 27.81 MB / 1.255 GB, free: 331 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/1.403, allocations: 2.796 MB / 1.257 GB, free: 330.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/1.405, allocations: 1.92 MB / 1.259 GB, free: 330.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.405, allocations: 137.2 kB / 1.259 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.405, allocations: 63.88 kB / 1.259 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=198): time 4.088e-06/1.405, allocations: 0 / 1.259 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=261): time 0.02839/1.434, allocations: 14.28 MB / 1.273 GB, free: 328.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.434, allocations: 240.1 kB / 1.273 GB, free: 328.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/1.435, allocations: 1.211 MB / 1.275 GB, free: 328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.435, allocations: 25.7 kB / 1.275 GB, free: 328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/1.436, allocations: 1.427 MB / 1.276 GB, free: 327.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/1.437, allocations: 0.8586 MB / 1.277 GB, free: 326.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.437, allocations: 0 / 1.277 GB, free: 326.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.437, allocations: 439.1 kB / 1.277 GB, free: 326.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/1.439, allocations: 2.113 MB / 1.279 GB, free: 326.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/1.442, allocations: 3.001 MB / 1.282 GB, free: 325.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/1.447, allocations: 3.017 MB / 1.285 GB, free: 325.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/1.447, allocations: 7.5 kB / 1.285 GB, free: 325.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01414/1.461, allocations: 7.903 MB / 1.293 GB, free: 325.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.002279/1.463, allocations: 10.78 MB / 1.304 GB, free: 313.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/1.463, allocations: 29.94 kB / 1.304 GB, free: 313.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/1.476, allocations: 3.524 MB / 1.307 GB, free: 313.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/1.479, allocations: 0.7645 MB / 1.308 GB, free: 313.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/1.5, allocations: 14.16 MB / 1.322 GB, free: 311.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.504, allocations: 333.8 kB / 1.322 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/1.504, allocations: 194.9 kB / 1.322 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/1.504, allocations: 7.156 kB / 1.322 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007637/1.512, allocations: 5.244 MB / 1.327 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/1.512, allocations: 29.91 kB / 1.327 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.512, allocations: 49.47 kB / 1.327 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/1.517, allocations: 1.1 MB / 1.328 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.403e-05/1.517, allocations: 65.53 kB / 1.328 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.52, allocations: 299.5 kB / 1.329 GB, free: 311 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/1.52, allocations: 193.8 kB / 1.329 GB, free: 310.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 294 * 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%) 48} * Non-linear torn systems: 1 {6 48} Notification: Performance of prepare postOptimizeDAE: time 0.0006608/1.521, allocations: 191.3 kB / 1.329 GB, free: 310.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/1.521, allocations: 192.1 kB / 1.329 GB, free: 310.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/1.536, allocations: 7.94 MB / 1.337 GB, free: 308.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.536, allocations: 26.84 kB / 1.337 GB, free: 308.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.536, allocations: 15.5 kB / 1.337 GB, free: 308.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.536, allocations: 15.7 kB / 1.337 GB, free: 308.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/1.561, allocations: 13.42 MB / 1.35 GB, free: 303.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.561, allocations: 11.28 kB / 1.35 GB, free: 303.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/1.564, allocations: 0.5213 MB / 1.351 GB, free: 303.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.578, allocations: 3.887 MB / 1.354 GB, free: 302.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005963/1.579, allocations: 54.41 kB / 1.355 GB, free: 302.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/1.597, allocations: 12.6 MB / 1.367 GB, free: 291.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.597, allocations: 11 kB / 1.367 GB, free: 291.3 MB / 0.8575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01332/1.61, allocations: 7.669 MB / 1.374 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.612, allocations: 0.7332 MB / 1.375 GB, free: 284.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/1.612, allocations: 16 kB / 1.375 GB, free: 284.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003286/1.615, allocations: 342.5 kB / 1.375 GB, free: 283.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/1.616, allocations: 166.6 kB / 1.376 GB, free: 283.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.616, allocations: 128 kB / 1.376 GB, free: 283.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 0.001167/1.617, allocations: 0.9304 MB / 1.377 GB, free: 282.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004884/1.622, allocations: 1.392 MB / 1.378 GB, free: 281.4 MB / 0.8575 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 (164): * Single equations (assignments): 162 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004589/1.622, allocations: 162.5 kB / 1.378 GB, free: 281.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.635, allocations: 8.237 MB / 1.386 GB, free: 274.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.635, allocations: 4 kB / 1.386 GB, free: 274.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/1.64, allocations: 2.997 MB / 1.389 GB, free: 271.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.642, allocations: 153 kB / 1.389 GB, free: 271.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.666, allocations: 8.488 MB / 1.398 GB, free: 264.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003048/1.669, allocations: 3.058 MB / 1.4 GB, free: 262 MB / 0.8575 GB Notification: Performance of SimCode: time 9.72e-07/1.669, allocations: 0 / 1.4 GB, free: 262 MB / 0.8575 GB Notification: Performance of Templates: time 0.09174/1.761, allocations: 71.96 MB / 1.471 GB, free: 196.6 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches