Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.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.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.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.662/1.662, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.0008836/0.0008837, allocations: 188 kB / 490.8 MB, free: 11.26 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.026/1.026, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008104/0.0008104, allocations: 95.97 kB / 0.9264 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.26e-06, allocations: 0 / 1.072 GB, free: 15.59 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4511, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.61, allocations: 211.8 MB / 1.418 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.6103, allocations: 116.9 kB / 1.419 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of FrontEnd: time 0.6424/1.253, allocations: 162.9 MB / 1.578 GB, free: 215 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.912e-05/1.253, allocations: 82.42 kB / 1.578 GB, free: 215 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.0053/1.258, allocations: 3.088 MB / 1.581 GB, free: 213.6 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/1.258, allocations: 7.75 kB / 1.581 GB, free: 213.6 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.269, allocations: 1.86 MB / 1.583 GB, free: 213.4 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/1.273, allocations: 2.254 MB / 1.585 GB, free: 213 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/1.273, allocations: 126.4 kB / 1.585 GB, free: 213 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/1.273, allocations: 208.9 kB / 1.585 GB, free: 213 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006052/1.279, allocations: 5.203 MB / 1.59 GB, free: 212.9 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/1.286, allocations: 5.849 MB / 1.596 GB, free: 212.6 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/1.286, allocations: 7.094 kB / 1.596 GB, free: 212.6 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/1.286, allocations: 6.094 kB / 1.596 GB, free: 212.6 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004437/1.287, allocations: 336 kB / 1.596 GB, free: 212.5 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/1.308, allocations: 28.14 MB / 1.624 GB, free: 192.4 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/1.311, allocations: 2.786 MB / 1.626 GB, free: 191.5 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/1.313, allocations: 1.911 MB / 1.628 GB, free: 190.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.314, allocations: 140.5 kB / 1.628 GB, free: 190.7 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.314, allocations: 62.12 kB / 1.628 GB, free: 190.6 MB / 1.026 GB Notification: Performance of pre-optimization done (n=198): time 3.727e-06/1.314, allocations: 0 / 1.628 GB, free: 190.6 MB / 1.026 GB Notification: Performance of matching and sorting (n=261): time 0.02418/1.338, allocations: 13.85 MB / 1.642 GB, free: 185.3 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.338, allocations: 248.9 kB / 1.642 GB, free: 185 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.339, allocations: 1.217 MB / 1.643 GB, free: 184.6 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/1.339, allocations: 25.7 kB / 1.643 GB, free: 184.5 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/1.34, allocations: 1.443 MB / 1.645 GB, free: 183.4 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/1.34, allocations: 0.8512 MB / 1.646 GB, free: 182.8 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.34, allocations: 2.344 kB / 1.646 GB, free: 182.8 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.34, allocations: 433 kB / 1.646 GB, free: 182.4 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/1.343, allocations: 2.105 MB / 1.648 GB, free: 181.7 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/1.345, allocations: 2.999 MB / 1.651 GB, free: 179.8 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.349, allocations: 2.945 MB / 1.654 GB, free: 178.9 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.349, allocations: 7.781 kB / 1.654 GB, free: 178.9 MB / 1.026 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01297/1.362, allocations: 7.809 MB / 1.662 GB, free: 176.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/1.363, allocations: 10.77 MB / 1.672 GB, free: 165 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/1.363, allocations: 32.38 kB / 1.672 GB, free: 165 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01271/1.376, allocations: 3.664 MB / 1.676 GB, free: 164.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/1.379, allocations: 0.7623 MB / 1.676 GB, free: 164.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/1.398, allocations: 14.03 MB / 1.69 GB, free: 158.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.401, allocations: 347 kB / 1.691 GB, free: 158 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/1.401, allocations: 175.5 kB / 1.691 GB, free: 158 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/1.401, allocations: 11.41 kB / 1.691 GB, free: 158 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006601/1.408, allocations: 5.146 MB / 1.696 GB, free: 153.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.408, allocations: 28.88 kB / 1.696 GB, free: 153.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/1.408, allocations: 48 kB / 1.696 GB, free: 153.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/1.413, allocations: 1.11 MB / 1.697 GB, free: 152.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/1.413, allocations: 62.38 kB / 1.697 GB, free: 152.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.416, allocations: 307.7 kB / 1.697 GB, free: 152.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.416, allocations: 167.9 kB / 1.697 GB, free: 152.3 MB / 1.026 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.0004455/1.416, allocations: 188 kB / 1.698 GB, free: 152.1 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/1.417, allocations: 193 kB / 1.698 GB, free: 151.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.43, allocations: 7.846 MB / 1.705 GB, free: 145.8 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.43, allocations: 27.91 kB / 1.705 GB, free: 145.8 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.43, allocations: 12 kB / 1.705 GB, free: 145.8 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.43, allocations: 13.61 kB / 1.705 GB, free: 145.8 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.45, allocations: 13.4 MB / 1.719 GB, free: 135 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.45, allocations: 9.969 kB / 1.719 GB, free: 135 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.453, allocations: 0.5249 MB / 1.719 GB, free: 134.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01297/1.466, allocations: 4.018 MB / 1.723 GB, free: 131.8 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.466, allocations: 51.27 kB / 1.723 GB, free: 131.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/1.482, allocations: 12.52 MB / 1.735 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.482, allocations: 11.94 kB / 1.735 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01132/1.493, allocations: 7.567 MB / 1.743 GB, free: 111.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.494, allocations: 0.7133 MB / 1.743 GB, free: 110.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.495, allocations: 8 kB / 1.743 GB, free: 110.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.498, allocations: 355.3 kB / 1.744 GB, free: 110.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/1.498, allocations: 153.5 kB / 1.744 GB, free: 110.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.498, allocations: 112.5 kB / 1.744 GB, free: 110.3 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0008349/1.499, allocations: 0.9372 MB / 1.745 GB, free: 109.3 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003526/1.503, allocations: 1.418 MB / 1.746 GB, free: 107.9 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 (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.0002884/1.503, allocations: 150.8 kB / 1.746 GB, free: 107.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.513, allocations: 8.166 MB / 1.754 GB, free: 99.56 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.513, allocations: 0 / 1.754 GB, free: 99.56 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.518, allocations: 2.992 MB / 1.757 GB, free: 96.56 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/1.519, allocations: 151.6 kB / 1.757 GB, free: 96.42 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.54, allocations: 8.483 MB / 1.766 GB, free: 87.8 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/1.543, allocations: 3.07 MB / 1.769 GB, free: 84.69 MB / 1.026 GB Notification: Performance of SimCode: time 2.51e-07/1.543, allocations: 4 kB / 1.769 GB, free: 84.69 MB / 1.026 GB Notification: Performance of Templates: time 0.06717/1.61, allocations: 71.06 MB / 1.838 GB, free: 14.49 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches