Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001011/0.001011, allocations: 180.7 kB / 487 MB, free: 5.34 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.135/1.135, allocations: 221.3 MB / 0.7819 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008955, allocations: 96.62 kB / 0.9213 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 4 kB / 1.066 GB, free: 186 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 142.3 MB / 1.205 GB, free: 44.31 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5196/0.7058, allocations: 209.9 MB / 1.41 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.7061, allocations: 108.7 kB / 1.41 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3572/1.063, allocations: 163.4 MB / 1.57 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001147/1.063, allocations: 76 kB / 1.57 GB, free: 9.262 MB / 0.9792 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.005932/1.069, allocations: 3.189 MB / 1.573 GB, free: 6.016 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.069, allocations: 8.031 kB / 1.573 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/1.081, allocations: 1.786 MB / 1.575 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/1.085, allocations: 2.326 MB / 1.577 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.086, allocations: 128 kB / 1.577 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/1.086, allocations: 220 kB / 1.578 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008523/1.095, allocations: 5.268 MB / 1.583 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009076/1.104, allocations: 6.04 MB / 1.589 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/1.104, allocations: 7.938 kB / 1.589 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/1.104, allocations: 0 / 1.589 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/1.105, allocations: 322.6 kB / 1.589 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/1.134, allocations: 28.32 MB / 1.617 GB, free: 7.031 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/1.137, allocations: 2.534 MB / 1.619 GB, free: 4.438 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/1.139, allocations: 1.611 MB / 1.621 GB, free: 2.805 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/1.139, allocations: 134.3 kB / 1.621 GB, free: 2.656 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.139, allocations: 55.88 kB / 1.621 GB, free: 2.59 MB / 1.026 GB Notification: Performance of pre-optimization done (n=176): time 3.406e-06/1.139, allocations: 0 / 1.621 GB, free: 2.59 MB / 1.026 GB Notification: Performance of matching and sorting (n=221): time 0.02825/1.168, allocations: 13.25 MB / 1.634 GB, free: 5.289 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/1.168, allocations: 227.6 kB / 1.634 GB, free: 5.016 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.169, allocations: 1.354 MB / 1.635 GB, free: 3.648 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.17, allocations: 29.7 kB / 1.635 GB, free: 3.613 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/1.17, allocations: 1.607 MB / 1.637 GB, free: 1.98 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/1.171, allocations: 0.7314 MB / 1.638 GB, free: 1.238 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.171, allocations: 0 / 1.638 GB, free: 1.238 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002046/1.171, allocations: 444.4 kB / 1.638 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/1.174, allocations: 1.97 MB / 1.64 GB, free: 14.82 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.177, allocations: 3.067 MB / 1.643 GB, free: 11.25 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004803/1.182, allocations: 2.902 MB / 1.646 GB, free: 8.352 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.182, allocations: 12 kB / 1.646 GB, free: 8.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01467/1.197, allocations: 7.453 MB / 1.653 GB, free: 0.8672 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003876/1.2, allocations: 14.08 MB / 1.667 GB, free: 1.68 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/1.2, allocations: 36 kB / 1.667 GB, free: 1.645 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/1.212, allocations: 3.173 MB / 1.67 GB, free: 14.46 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/1.216, allocations: 0.8228 MB / 1.671 GB, free: 13.63 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.235, allocations: 11.01 MB / 1.681 GB, free: 2.465 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.239, allocations: 370.7 kB / 1.682 GB, free: 2.098 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/1.239, allocations: 207.8 kB / 1.682 GB, free: 1.895 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.239, allocations: 4 kB / 1.682 GB, free: 1.891 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008009/1.247, allocations: 5.037 MB / 1.687 GB, free: 12.85 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/1.247, allocations: 36.12 kB / 1.687 GB, free: 12.82 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-05/1.247, allocations: 56.88 kB / 1.687 GB, free: 12.76 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.252, allocations: 1.108 MB / 1.688 GB, free: 11.65 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.024e-05/1.252, allocations: 83.7 kB / 1.688 GB, free: 11.57 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.255, allocations: 307.2 kB / 1.688 GB, free: 11.27 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/1.256, allocations: 203.9 kB / 1.689 GB, free: 11.07 MB / 1.104 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.0005777/1.256, allocations: 207.8 kB / 1.689 GB, free: 10.86 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/1.257, allocations: 181.8 kB / 1.689 GB, free: 10.68 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.271, allocations: 6.657 MB / 1.696 GB, free: 3.992 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.271, allocations: 27.91 kB / 1.696 GB, free: 3.965 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.271, allocations: 8 kB / 1.696 GB, free: 3.957 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/1.271, allocations: 19.95 kB / 1.696 GB, free: 3.938 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/1.292, allocations: 11.28 MB / 1.707 GB, free: 8.488 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.292, allocations: 8 kB / 1.707 GB, free: 8.48 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.295, allocations: 0.5077 MB / 1.707 GB, free: 7.973 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/1.308, allocations: 3.642 MB / 1.711 GB, free: 4.32 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004738/1.308, allocations: 51.92 kB / 1.711 GB, free: 4.27 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/1.327, allocations: 10.85 MB / 1.721 GB, free: 9.266 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.327, allocations: 15.94 kB / 1.721 GB, free: 9.25 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01378/1.34, allocations: 7.065 MB / 1.728 GB, free: 1.805 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.342, allocations: 0.6742 MB / 1.729 GB, free: 1.109 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006052/1.343, allocations: 8 kB / 1.729 GB, free: 1.102 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/1.346, allocations: 339.4 kB / 1.729 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/1.346, allocations: 149.6 kB / 1.729 GB, free: 0.6211 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.347, allocations: 115.9 kB / 1.729 GB, free: 0.5078 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001523/1.348, allocations: 1.002 MB / 1.73 GB, free: 15.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005133/1.353, allocations: 1.41 MB / 1.732 GB, free: 14.09 MB / 1.151 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.0003645/1.354, allocations: 158.7 kB / 1.732 GB, free: 13.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.366, allocations: 7.678 MB / 1.739 GB, free: 6.254 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.366, allocations: 0 / 1.739 GB, free: 6.254 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005409/1.371, allocations: 2.726 MB / 1.742 GB, free: 3.523 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.372, allocations: 158.2 kB / 1.742 GB, free: 3.367 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2987/1.671, allocations: 7.427 MB / 1.75 GB, free: 458.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003788/1.675, allocations: 3.129 MB / 1.753 GB, free: 457.4 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/1.675, allocations: 0 / 1.753 GB, free: 457.4 MB / 1.151 GB Notification: Performance of Templates: time 0.07212/1.747, allocations: 66.92 MB / 1.818 GB, free: 455.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches