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.DY.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.00104/0.00104, allocations: 181.2 kB / 316 MB, free: 3.531 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.188/1.188, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.0009644/0.0009643, allocations: 79.41 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.812e-06/6.842e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5321/0.6992, allocations: 194.1 MB / 1.074 GB, free: 10.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.6997, allocations: 117.8 kB / 1.074 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3426/1.042, allocations: 146.4 MB / 1.217 GB, free: 1.184 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001412/1.042, allocations: 76 kB / 1.217 GB, free: 1.109 MB / 0.823 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.006752/1.049, allocations: 3.098 MB / 1.22 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.049, allocations: 8.031 kB / 1.22 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/1.062, allocations: 1.86 MB / 1.222 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/1.068, allocations: 2.248 MB / 1.224 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.068, allocations: 124 kB / 1.224 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/1.069, allocations: 216 kB / 1.225 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008983/1.078, allocations: 5.197 MB / 1.23 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008853/1.087, allocations: 5.851 MB / 1.235 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/1.087, allocations: 3.938 kB / 1.235 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/1.087, allocations: 7.984 kB / 1.235 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005837/1.088, allocations: 342.2 kB / 1.236 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2617/1.35, allocations: 28.11 MB / 1.263 GB, free: 318.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/1.353, allocations: 2.787 MB / 1.266 GB, free: 318.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.355, allocations: 1.916 MB / 1.268 GB, free: 318.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/1.355, allocations: 138.2 kB / 1.268 GB, free: 318.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.355, allocations: 68.91 kB / 1.268 GB, free: 318.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=198): time 3.737e-06/1.355, allocations: 0 / 1.268 GB, free: 318.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=261): time 0.02616/1.382, allocations: 13.84 MB / 1.281 GB, free: 315.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.382, allocations: 236.4 kB / 1.282 GB, free: 315.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.384, allocations: 1.216 MB / 1.283 GB, free: 315.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004065/1.384, allocations: 25.7 kB / 1.283 GB, free: 315.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005711/1.385, allocations: 1.449 MB / 1.284 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/1.385, allocations: 0.8506 MB / 1.285 GB, free: 314.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.385, allocations: 7.297 kB / 1.285 GB, free: 314.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.386, allocations: 441.1 kB / 1.286 GB, free: 313.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.388, allocations: 2.106 MB / 1.288 GB, free: 313.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/1.391, allocations: 2.998 MB / 1.291 GB, free: 312.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/1.395, allocations: 2.942 MB / 1.293 GB, free: 312.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.395, allocations: 7.625 kB / 1.293 GB, free: 312.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01381/1.409, allocations: 7.802 MB / 1.301 GB, free: 312.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001542/1.41, allocations: 10.78 MB / 1.312 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/1.41, allocations: 33 kB / 1.312 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/1.424, allocations: 3.658 MB / 1.315 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.427, allocations: 0.7616 MB / 1.316 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/1.447, allocations: 14.04 MB / 1.33 GB, free: 297.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/1.451, allocations: 344.1 kB / 1.33 GB, free: 297.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.452, allocations: 178.6 kB / 1.33 GB, free: 297.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/1.452, allocations: 3.969 kB / 1.33 GB, free: 297.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007272/1.459, allocations: 5.154 MB / 1.335 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.459, allocations: 27.12 kB / 1.335 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/1.459, allocations: 46.16 kB / 1.335 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005172/1.464, allocations: 1.11 MB / 1.336 GB, free: 296 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.231e-05/1.464, allocations: 59.64 kB / 1.336 GB, free: 296 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/1.467, allocations: 312 kB / 1.337 GB, free: 296 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.468, allocations: 176.9 kB / 1.337 GB, free: 296 MB / 0.8542 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.0005821/1.468, allocations: 173.7 kB / 1.337 GB, free: 295.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.469, allocations: 194.2 kB / 1.337 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.484, allocations: 7.852 MB / 1.345 GB, free: 293.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/1.484, allocations: 30.47 kB / 1.345 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/1.484, allocations: 12.53 kB / 1.345 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/1.484, allocations: 12 kB / 1.345 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.508, allocations: 13.4 MB / 1.358 GB, free: 288.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.508, allocations: 12.19 kB / 1.358 GB, free: 288.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.511, allocations: 0.5154 MB / 1.359 GB, free: 288.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01355/1.525, allocations: 4.023 MB / 1.362 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.525, allocations: 38.86 kB / 1.363 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/1.542, allocations: 12.53 MB / 1.375 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.542, allocations: 13.44 kB / 1.375 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01214/1.554, allocations: 7.572 MB / 1.382 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.555, allocations: 0.7228 MB / 1.383 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/1.556, allocations: 12 kB / 1.383 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.559, allocations: 346.5 kB / 1.383 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.559, allocations: 154.9 kB / 1.383 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002398/1.56, allocations: 110.2 kB / 1.383 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001066/1.561, allocations: 0.9373 MB / 1.384 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004529/1.565, allocations: 1.4 MB / 1.386 GB, free: 265.1 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 (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.0003728/1.566, allocations: 160.5 kB / 1.386 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.577, allocations: 8.168 MB / 1.394 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.577, allocations: 4 kB / 1.394 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005557/1.583, allocations: 2.983 MB / 1.397 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.584, allocations: 163.4 kB / 1.397 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/1.609, allocations: 8.484 MB / 1.405 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003112/1.612, allocations: 3.069 MB / 1.408 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/1.612, allocations: 0 / 1.408 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.08244/1.695, allocations: 71.03 MB / 1.478 GB, free: 180.3 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches