Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.758/1.758, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001012/0.001012, allocations: 185.3 kB / 487 MB, free: 5.398 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.108/1.108, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.000808/0.000808, allocations: 91.62 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.52e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5321/0.7147, allocations: 210.3 MB / 1.411 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.715, allocations: 114.5 kB / 1.411 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3401/1.055, allocations: 157 MB / 1.564 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.666e-05/1.055, allocations: 72 kB / 1.564 GB, free: 15.64 MB / 0.9948 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.00512/1.06, allocations: 3.074 MB / 1.567 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/1.06, allocations: 11.97 kB / 1.567 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/1.072, allocations: 1.751 MB / 1.569 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/1.076, allocations: 2.252 MB / 1.571 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/1.076, allocations: 116 kB / 1.571 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005343/1.076, allocations: 212 kB / 1.571 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007499/1.084, allocations: 5.154 MB / 1.576 GB, free: 2.953 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/1.092, allocations: 5.787 MB / 1.582 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/1.092, allocations: 3.906 kB / 1.582 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/1.092, allocations: 8 kB / 1.582 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004068/1.093, allocations: 318.2 kB / 1.582 GB, free: 12.71 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/1.119, allocations: 27.8 MB / 1.609 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/1.123, allocations: 2.797 MB / 1.612 GB, free: 11.7 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/1.126, allocations: 1.912 MB / 1.614 GB, free: 9.766 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.126, allocations: 139 kB / 1.614 GB, free: 9.613 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.126, allocations: 66.22 kB / 1.614 GB, free: 9.539 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.406e-06/1.126, allocations: 0 / 1.614 GB, free: 9.539 MB / 1.042 GB Notification: Performance of matching and sorting (n=261): time 0.03125/1.157, allocations: 14.29 MB / 1.628 GB, free: 11.24 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/1.157, allocations: 231.6 kB / 1.628 GB, free: 10.96 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.159, allocations: 1.208 MB / 1.63 GB, free: 9.746 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000367/1.159, allocations: 25.7 kB / 1.63 GB, free: 9.715 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/1.16, allocations: 1.442 MB / 1.631 GB, free: 8.25 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/1.161, allocations: 0.8506 MB / 1.632 GB, free: 7.387 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.161, allocations: 3.938 kB / 1.632 GB, free: 7.383 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.161, allocations: 436.5 kB / 1.632 GB, free: 6.949 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.164, allocations: 2.115 MB / 1.634 GB, free: 4.832 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/1.167, allocations: 3 MB / 1.637 GB, free: 1.441 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/1.172, allocations: 3.02 MB / 1.64 GB, free: 14.4 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.172, allocations: 8 kB / 1.64 GB, free: 14.39 MB / 1.073 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01573/1.188, allocations: 7.898 MB / 1.648 GB, free: 6.422 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002963/1.191, allocations: 10.78 MB / 1.658 GB, free: 10.79 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/1.191, allocations: 28 kB / 1.658 GB, free: 10.76 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/1.204, allocations: 3.531 MB / 1.662 GB, free: 7.219 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/1.209, allocations: 0.7566 MB / 1.663 GB, free: 6.461 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.232, allocations: 14.12 MB / 1.676 GB, free: 8.188 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/1.236, allocations: 327.2 kB / 1.677 GB, free: 7.867 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000463/1.237, allocations: 195.9 kB / 1.677 GB, free: 7.676 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.237, allocations: 4 kB / 1.677 GB, free: 7.672 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008807/1.245, allocations: 5.25 MB / 1.682 GB, free: 2.383 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/1.245, allocations: 28 kB / 1.682 GB, free: 2.355 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.644e-05/1.246, allocations: 48 kB / 1.682 GB, free: 2.309 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005522/1.251, allocations: 1.116 MB / 1.683 GB, free: 1.191 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-05/1.251, allocations: 59.8 kB / 1.683 GB, free: 1.133 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.254, allocations: 303.3 kB / 1.684 GB, free: 0.8359 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/1.255, allocations: 191.9 kB / 1.684 GB, free: 0.6484 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.0006288/1.255, allocations: 184 kB / 1.684 GB, free: 472 kB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/1.256, allocations: 193.7 kB / 1.684 GB, free: 276 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/1.272, allocations: 7.952 MB / 1.692 GB, free: 8.266 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.272, allocations: 24 kB / 1.692 GB, free: 8.242 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.272, allocations: 15.98 kB / 1.692 GB, free: 8.227 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.272, allocations: 15.95 kB / 1.692 GB, free: 8.211 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.295, allocations: 13.41 MB / 1.705 GB, free: 10.65 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.295, allocations: 12.94 kB / 1.705 GB, free: 10.64 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.298, allocations: 0.5188 MB / 1.706 GB, free: 10.12 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/1.311, allocations: 3.89 MB / 1.709 GB, free: 6.219 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004072/1.312, allocations: 51.92 kB / 1.709 GB, free: 6.168 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/1.331, allocations: 12.61 MB / 1.722 GB, free: 9.406 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.331, allocations: 11.94 kB / 1.722 GB, free: 9.395 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01388/1.345, allocations: 7.662 MB / 1.729 GB, free: 1.418 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.346, allocations: 0.7404 MB / 1.73 GB, free: 0.6562 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/1.347, allocations: 12 kB / 1.73 GB, free: 0.6445 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/1.35, allocations: 335.4 kB / 1.73 GB, free: 324 kB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/1.35, allocations: 165.6 kB / 1.73 GB, free: 160 kB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.351, allocations: 123.9 kB / 1.731 GB, free: 36 kB / 1.151 GB Notification: Performance of sort global known variables: time 0.2903/1.641, allocations: 0.9316 MB / 1.731 GB, free: 466.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005149/1.646, allocations: 1.395 MB / 1.733 GB, free: 466.5 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.0003676/1.647, allocations: 160.3 kB / 1.733 GB, free: 466.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.011/1.658, allocations: 8.236 MB / 1.741 GB, free: 466.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.658, allocations: 0 / 1.741 GB, free: 466.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/1.663, allocations: 3 MB / 1.744 GB, free: 466.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.664, allocations: 162.6 kB / 1.744 GB, free: 466.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/1.687, allocations: 8.495 MB / 1.752 GB, free: 464.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/1.69, allocations: 3.056 MB / 1.755 GB, free: 464.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/1.69, allocations: 0 / 1.755 GB, free: 464.1 MB / 1.151 GB Notification: Performance of Templates: time 0.08641/1.776, allocations: 72 MB / 1.826 GB, free: 461.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches