Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.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.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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 10.0.0-master/package.mo): time 1.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0008826/0.0008826, allocations: 186.8 kB / 490.8 MB, free: 1.918 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.06/1.06, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.000809/0.0008091, allocations: 92.61 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.26e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.6571, allocations: 211.1 MB / 1.418 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.6574, allocations: 114.8 kB / 1.418 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.3344/0.9917, allocations: 157 MB / 1.571 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001133/0.9919, allocations: 75.98 kB / 1.571 GB, free: 7.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: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.006421/0.9983, allocations: 3.07 MB / 1.574 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.9983, allocations: 8.031 kB / 1.574 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.01, allocations: 1.751 MB / 1.576 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/1.013, allocations: 2.256 MB / 1.578 GB, free: 64 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/1.013, allocations: 120 kB / 1.578 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/1.014, allocations: 208 kB / 1.578 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007282/1.021, allocations: 5.146 MB / 1.583 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007807/1.029, allocations: 5.787 MB / 1.589 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/1.029, allocations: 7.938 kB / 1.589 GB, free: 4.672 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/1.029, allocations: 4 kB / 1.589 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003956/1.03, allocations: 314.2 kB / 1.589 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/1.056, allocations: 27.82 MB / 1.617 GB, free: 6.176 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/1.06, allocations: 2.786 MB / 1.619 GB, free: 3.336 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/1.062, allocations: 1.92 MB / 1.621 GB, free: 1.402 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/1.062, allocations: 135 kB / 1.621 GB, free: 1.254 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.062, allocations: 68.44 kB / 1.621 GB, free: 1.176 MB / 1.026 GB Notification: Performance of pre-optimization done (n=198): time 3.727e-06/1.062, allocations: 7.938 kB / 1.621 GB, free: 1.168 MB / 1.026 GB Notification: Performance of matching and sorting (n=261): time 0.02925/1.091, allocations: 14.27 MB / 1.635 GB, free: 2.883 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.091, allocations: 235.5 kB / 1.636 GB, free: 2.602 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.093, allocations: 1.212 MB / 1.637 GB, free: 1.379 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/1.093, allocations: 25.7 kB / 1.637 GB, free: 1.348 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006477/1.094, allocations: 1.434 MB / 1.638 GB, free: 15.89 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006259/1.094, allocations: 0.8467 MB / 1.639 GB, free: 15.03 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.094, allocations: 4 kB / 1.639 GB, free: 15.03 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.095, allocations: 436.5 kB / 1.639 GB, free: 14.59 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/1.097, allocations: 2.118 MB / 1.641 GB, free: 12.47 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/1.1, allocations: 3 MB / 1.644 GB, free: 9.078 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/1.105, allocations: 3.016 MB / 1.647 GB, free: 6.039 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.105, allocations: 8 kB / 1.647 GB, free: 6.031 MB / 1.057 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01486/1.12, allocations: 7.902 MB / 1.655 GB, free: 14.07 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00285/1.123, allocations: 10.79 MB / 1.666 GB, free: 2.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.123, allocations: 24 kB / 1.666 GB, free: 2.406 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/1.135, allocations: 3.527 MB / 1.669 GB, free: 14.87 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/1.139, allocations: 0.7605 MB / 1.67 GB, free: 14.11 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.16, allocations: 14.12 MB / 1.684 GB, free: 15.82 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.164, allocations: 335.2 kB / 1.684 GB, free: 15.5 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.164, allocations: 191.9 kB / 1.684 GB, free: 15.31 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/1.164, allocations: 4 kB / 1.684 GB, free: 15.3 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008007/1.172, allocations: 5.253 MB / 1.689 GB, free: 10.01 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.172, allocations: 28 kB / 1.689 GB, free: 9.984 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/1.172, allocations: 48 kB / 1.689 GB, free: 9.938 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.177, allocations: 1.1 MB / 1.69 GB, free: 8.832 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-05/1.177, allocations: 67.69 kB / 1.69 GB, free: 8.766 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.18, allocations: 299.3 kB / 1.691 GB, free: 8.473 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.18, allocations: 187.9 kB / 1.691 GB, free: 8.289 MB / 1.104 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.0004744/1.181, allocations: 192 kB / 1.691 GB, free: 8.094 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/1.181, allocations: 185.8 kB / 1.691 GB, free: 7.91 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/1.197, allocations: 7.952 MB / 1.699 GB, free: 15.91 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.197, allocations: 28 kB / 1.699 GB, free: 15.89 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.197, allocations: 12 kB / 1.699 GB, free: 15.88 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.197, allocations: 11.95 kB / 1.699 GB, free: 15.86 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.219, allocations: 13.41 MB / 1.712 GB, free: 2.297 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.219, allocations: 11.91 kB / 1.712 GB, free: 2.285 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.222, allocations: 0.5228 MB / 1.713 GB, free: 1.762 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/1.235, allocations: 3.886 MB / 1.716 GB, free: 13.86 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.235, allocations: 55.92 kB / 1.717 GB, free: 13.81 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/1.254, allocations: 12.62 MB / 1.729 GB, free: 1.035 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.254, allocations: 15.94 kB / 1.729 GB, free: 1.02 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01338/1.268, allocations: 7.658 MB / 1.736 GB, free: 9.043 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.269, allocations: 0.7366 MB / 1.737 GB, free: 8.285 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/1.269, allocations: 11.91 kB / 1.737 GB, free: 8.273 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.273, allocations: 339.4 kB / 1.737 GB, free: 7.941 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.273, allocations: 161.6 kB / 1.738 GB, free: 7.785 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.273, allocations: 127.9 kB / 1.738 GB, free: 7.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001041/1.274, allocations: 0.9327 MB / 1.739 GB, free: 6.723 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003814/1.278, allocations: 1.394 MB / 1.74 GB, free: 5.328 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 (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.0003325/1.278, allocations: 162.8 kB / 1.74 GB, free: 5.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.2693/1.548, allocations: 8.223 MB / 1.748 GB, free: 465 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.548, allocations: 3.031 kB / 1.748 GB, free: 465 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005146/1.553, allocations: 3.002 MB / 1.751 GB, free: 464.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/1.554, allocations: 159.7 kB / 1.751 GB, free: 464.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.576, allocations: 8.485 MB / 1.76 GB, free: 463.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/1.578, allocations: 3.057 MB / 1.763 GB, free: 462.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/1.578, allocations: 2.219 kB / 1.763 GB, free: 462.8 MB / 1.151 GB Notification: Performance of Templates: time 0.07101/1.649, allocations: 71.99 MB / 1.833 GB, free: 460.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches