Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 177.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008953, allocations: 94.33 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.124e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5403/0.7219, allocations: 194 MB / 1.074 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.7223, allocations: 116.4 kB / 1.074 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3538/1.076, allocations: 152.3 MB / 1.223 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001128/1.076, allocations: 80 kB / 1.223 GB, free: 11.2 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.006151/1.082, allocations: 3.201 MB / 1.226 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.082, allocations: 12.03 kB / 1.226 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.097, allocations: 1.954 MB / 1.228 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005826/1.102, allocations: 2.342 MB / 1.23 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.103, allocations: 131.9 kB / 1.23 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009765/1.104, allocations: 224 kB / 1.231 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01004/1.114, allocations: 5.358 MB / 1.236 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/1.124, allocations: 6.143 MB / 1.242 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.593e-05/1.125, allocations: 3.938 kB / 1.242 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/1.125, allocations: 4 kB / 1.242 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007497/1.126, allocations: 378.7 kB / 1.242 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2934/1.419, allocations: 28.98 MB / 1.271 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/1.422, allocations: 2.512 MB / 1.273 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/1.424, allocations: 1.599 MB / 1.275 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.424, allocations: 127.3 kB / 1.275 GB, free: 306 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/1.424, allocations: 62.44 kB / 1.275 GB, free: 306 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.707e-06/1.424, allocations: 0 / 1.275 GB, free: 306 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.02518/1.449, allocations: 12.99 MB / 1.287 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/1.45, allocations: 236.9 kB / 1.288 GB, free: 303 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.451, allocations: 1.365 MB / 1.289 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/1.451, allocations: 25.7 kB / 1.289 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/1.452, allocations: 1.62 MB / 1.291 GB, free: 302.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/1.453, allocations: 0.7267 MB / 1.291 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.453, allocations: 0 / 1.291 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.453, allocations: 445 kB / 1.292 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/1.455, allocations: 1.954 MB / 1.294 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.458, allocations: 3.047 MB / 1.297 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.462, allocations: 2.766 MB / 1.299 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.462, allocations: 12.16 kB / 1.299 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01583/1.478, allocations: 7.91 MB / 1.307 GB, free: 299.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002138/1.48, allocations: 14.08 MB / 1.321 GB, free: 285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-05/1.48, allocations: 34.19 kB / 1.321 GB, free: 285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/1.493, allocations: 3.373 MB / 1.324 GB, free: 285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004175/1.497, allocations: 0.8307 MB / 1.325 GB, free: 285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.514, allocations: 10.81 MB / 1.336 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.518, allocations: 381.3 kB / 1.336 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/1.519, allocations: 161.5 kB / 1.336 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/1.519, allocations: 3.969 kB / 1.336 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007995/1.527, allocations: 4.846 MB / 1.341 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.527, allocations: 47.41 kB / 1.341 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.148e-05/1.527, allocations: 60.28 kB / 1.341 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/1.532, allocations: 1.071 MB / 1.342 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.929e-05/1.532, allocations: 74.84 kB / 1.342 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.536, allocations: 326 kB / 1.342 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/1.536, allocations: 159.9 kB / 1.342 GB, free: 283 MB / 0.8542 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.0008105/1.537, allocations: 214 kB / 1.343 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.538, allocations: 188.8 kB / 1.343 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.555, allocations: 7.261 MB / 1.35 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.555, allocations: 23.16 kB / 1.35 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/1.555, allocations: 7.75 kB / 1.35 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.555, allocations: 13.77 kB / 1.35 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.579, allocations: 11.8 MB / 1.362 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/1.579, allocations: 12.09 kB / 1.362 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/1.582, allocations: 0.5039 MB / 1.362 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.597, allocations: 3.849 MB / 1.366 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005109/1.597, allocations: 39.95 kB / 1.366 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/1.622, allocations: 15.3 MB / 1.381 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.622, allocations: 13.25 kB / 1.381 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01558/1.638, allocations: 7.663 MB / 1.388 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.639, allocations: 0.6379 MB / 1.389 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006521/1.64, allocations: 11.75 kB / 1.389 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/1.644, allocations: 351.5 kB / 1.389 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/1.644, allocations: 129.5 kB / 1.389 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.644, allocations: 85.83 kB / 1.389 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001406/1.646, allocations: 0.9982 MB / 1.39 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005699/1.651, allocations: 1.478 MB / 1.392 GB, free: 256.4 MB / 0.8542 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.0003949/1.652, allocations: 149.2 kB / 1.392 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.663, allocations: 7.548 MB / 1.399 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.663, allocations: 0 / 1.399 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005506/1.669, allocations: 2.844 MB / 1.402 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.67, allocations: 162 kB / 1.402 GB, free: 247.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.687, allocations: 6.731 MB / 1.409 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003984/1.691, allocations: 3.136 MB / 1.412 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/1.691, allocations: 4 kB / 1.412 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.08141/1.773, allocations: 67.67 MB / 1.478 GB, free: 177.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches