Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.656/1.656, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 177.3 kB / 490.8 MB, free: 11.19 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.039/1.039, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 98.62 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.17e-06, allocations: 0 / 1.072 GB, free: 15.53 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4556, allocations: 143 MB / 1.212 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.6165, allocations: 210.7 MB / 1.417 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.6168, allocations: 111.9 kB / 1.417 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 0.6511/1.268, allocations: 163.4 MB / 1.577 GB, free: 171.7 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.145e-05/1.268, allocations: 80.16 kB / 1.577 GB, free: 171.7 MB / 1.026 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.00438/1.272, allocations: 3.187 MB / 1.58 GB, free: 170.4 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/1.272, allocations: 12.86 kB / 1.58 GB, free: 170.3 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.283, allocations: 1.787 MB / 1.582 GB, free: 170.1 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/1.286, allocations: 2.322 MB / 1.584 GB, free: 169.7 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/1.286, allocations: 125.6 kB / 1.584 GB, free: 169.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/1.286, allocations: 228.3 kB / 1.585 GB, free: 169.7 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006159/1.292, allocations: 5.271 MB / 1.59 GB, free: 169.6 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/1.299, allocations: 6.044 MB / 1.596 GB, free: 169.3 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.829e-05/1.299, allocations: 7.375 kB / 1.596 GB, free: 169.3 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/1.3, allocations: 0 / 1.596 GB, free: 169.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/1.3, allocations: 321.2 kB / 1.596 GB, free: 169.3 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/1.322, allocations: 28.3 MB / 1.624 GB, free: 154.1 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.325, allocations: 2.528 MB / 1.626 GB, free: 153.9 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.327, allocations: 1.619 MB / 1.628 GB, free: 153.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.327, allocations: 132.6 kB / 1.628 GB, free: 153.7 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.327, allocations: 57.03 kB / 1.628 GB, free: 153.7 MB / 1.026 GB Notification: Performance of pre-optimization done (n=176): time 4.067e-06/1.327, allocations: 0 / 1.628 GB, free: 153.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=221): time 0.0241/1.351, allocations: 13.25 MB / 1.641 GB, free: 150.8 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.351, allocations: 242.4 kB / 1.641 GB, free: 150.6 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.352, allocations: 1.354 MB / 1.642 GB, free: 150.4 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.352, allocations: 25.7 kB / 1.642 GB, free: 150.3 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/1.353, allocations: 1.606 MB / 1.644 GB, free: 149.3 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/1.353, allocations: 0.7299 MB / 1.645 GB, free: 148.8 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.353, allocations: 1.219 kB / 1.645 GB, free: 148.8 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.353, allocations: 432.1 kB / 1.645 GB, free: 148.5 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/1.355, allocations: 1.973 MB / 1.647 GB, free: 148.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.358, allocations: 3.063 MB / 1.65 GB, free: 147.1 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003872/1.362, allocations: 2.9 MB / 1.653 GB, free: 146.3 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.362, allocations: 15.62 kB / 1.653 GB, free: 146.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01225/1.374, allocations: 7.456 MB / 1.66 GB, free: 144.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001671/1.375, allocations: 14.07 MB / 1.674 GB, free: 129.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/1.376, allocations: 45.89 kB / 1.674 GB, free: 129.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.386, allocations: 3.171 MB / 1.677 GB, free: 128.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/1.389, allocations: 0.824 MB / 1.678 GB, free: 128.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.405, allocations: 11.03 MB / 1.689 GB, free: 123.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.408, allocations: 368.7 kB / 1.689 GB, free: 123.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/1.409, allocations: 202.4 kB / 1.689 GB, free: 123.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/1.409, allocations: 6.969 kB / 1.689 GB, free: 123.8 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006546/1.415, allocations: 5.037 MB / 1.694 GB, free: 122.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.415, allocations: 33.41 kB / 1.694 GB, free: 122.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/1.415, allocations: 67.62 kB / 1.694 GB, free: 122.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.42, allocations: 1.093 MB / 1.695 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/1.42, allocations: 79.2 kB / 1.695 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.423, allocations: 314.8 kB / 1.696 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.423, allocations: 202.8 kB / 1.696 GB, free: 122.2 MB / 1.026 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.0004327/1.424, allocations: 212.5 kB / 1.696 GB, free: 122 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/1.424, allocations: 187.5 kB / 1.696 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.437, allocations: 6.656 MB / 1.703 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.437, allocations: 25.03 kB / 1.703 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.437, allocations: 11.81 kB / 1.703 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.437, allocations: 13.31 kB / 1.703 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.454, allocations: 11.29 MB / 1.714 GB, free: 115.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.454, allocations: 7.469 kB / 1.714 GB, free: 115.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.457, allocations: 0.5051 MB / 1.714 GB, free: 115.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.468, allocations: 3.649 MB / 1.718 GB, free: 115.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.468, allocations: 52.38 kB / 1.718 GB, free: 115.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.483, allocations: 10.86 MB / 1.728 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.483, allocations: 12.44 kB / 1.728 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01113/1.494, allocations: 7.064 MB / 1.735 GB, free: 106.7 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/1.495, allocations: 0.674 MB / 1.736 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/1.496, allocations: 11.47 kB / 1.736 GB, free: 106.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.499, allocations: 341.7 kB / 1.736 GB, free: 105.9 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.499, allocations: 146.4 kB / 1.736 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.499, allocations: 119.3 kB / 1.737 GB, free: 105.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0009549/1.5, allocations: 0.9942 MB / 1.738 GB, free: 104.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003757/1.504, allocations: 1.413 MB / 1.739 GB, free: 103.4 MB / 1.026 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.0002952/1.504, allocations: 158.2 kB / 1.739 GB, free: 103.2 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.009576/1.514, allocations: 7.681 MB / 1.747 GB, free: 96.48 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.514, allocations: 5.688 kB / 1.747 GB, free: 96.48 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/1.518, allocations: 2.71 MB / 1.749 GB, free: 93.97 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/1.519, allocations: 165.2 kB / 1.749 GB, free: 93.81 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.535, allocations: 7.426 MB / 1.757 GB, free: 86.24 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002805/1.538, allocations: 3.132 MB / 1.76 GB, free: 83.07 MB / 1.026 GB Notification: Performance of SimCode: time 2.51e-07/1.538, allocations: 0.5625 kB / 1.76 GB, free: 83.07 MB / 1.026 GB Notification: Performance of Templates: time 0.06423/1.602, allocations: 66.92 MB / 1.825 GB, free: 16.95 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches