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.BalancedStepUp.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.BalancedStepUp.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.BalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.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.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001033/0.001033, allocations: 196.6 kB / 316 MB, free: 3.543 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.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 15.75 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.0009412/0.0009411, allocations: 94.06 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6435, allocations: 193 MB / 1.073 GB, free: 12.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6438, allocations: 110.5 kB / 1.073 GB, free: 12.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3278/0.9716, allocations: 144.8 MB / 1.215 GB, free: 4.047 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001373/0.9718, allocations: 79.98 kB / 1.215 GB, free: 3.969 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.007418/0.9792, allocations: 3.177 MB / 1.218 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.9793, allocations: 8.031 kB / 1.218 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.9918, allocations: 1.782 MB / 1.219 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.9972, allocations: 2.334 MB / 1.222 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.9973, allocations: 124 kB / 1.222 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009349/0.9983, allocations: 224 kB / 1.222 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00953/1.008, allocations: 5.264 MB / 1.227 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.02, allocations: 6.04 MB / 1.233 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/1.02, allocations: 7.938 kB / 1.233 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007278/1.021, allocations: 4 kB / 1.233 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005292/1.021, allocations: 318.6 kB / 1.233 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2772/1.298, allocations: 28.3 MB / 1.261 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/1.301, allocations: 2.529 MB / 1.264 GB, free: 253 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.303, allocations: 1.615 MB / 1.265 GB, free: 253 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.303, allocations: 135.8 kB / 1.265 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/1.303, allocations: 57.75 kB / 1.265 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.316e-06/1.303, allocations: 0 / 1.265 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.02698/1.33, allocations: 13.24 MB / 1.278 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/1.33, allocations: 232.3 kB / 1.278 GB, free: 250 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.332, allocations: 1.358 MB / 1.28 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003095/1.332, allocations: 25.7 kB / 1.28 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/1.333, allocations: 1.609 MB / 1.281 GB, free: 249 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/1.334, allocations: 0.7283 MB / 1.282 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.334, allocations: 6.656 kB / 1.282 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.334, allocations: 437.2 kB / 1.283 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/1.336, allocations: 1.977 MB / 1.284 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/1.338, allocations: 3.065 MB / 1.287 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/1.343, allocations: 2.904 MB / 1.29 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/1.343, allocations: 10.03 kB / 1.29 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01348/1.356, allocations: 7.458 MB / 1.298 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001978/1.358, allocations: 14.07 MB / 1.311 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/1.358, allocations: 33.69 kB / 1.311 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.37, allocations: 3.171 MB / 1.314 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.374, allocations: 0.824 MB / 1.315 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/1.39, allocations: 11.03 MB / 1.326 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/1.394, allocations: 369.3 kB / 1.326 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/1.395, allocations: 206 kB / 1.327 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/1.395, allocations: 6.75 kB / 1.327 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007022/1.402, allocations: 5.045 MB / 1.332 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/1.402, allocations: 33.81 kB / 1.332 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.333e-05/1.402, allocations: 62.91 kB / 1.332 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004953/1.407, allocations: 1.095 MB / 1.333 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.944e-05/1.407, allocations: 76.23 kB / 1.333 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.41, allocations: 319.6 kB / 1.333 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/1.41, allocations: 200.6 kB / 1.333 GB, free: 230 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.0005975/1.411, allocations: 205.4 kB / 1.333 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/1.411, allocations: 187.2 kB / 1.334 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.424, allocations: 6.657 MB / 1.34 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/1.424, allocations: 26.06 kB / 1.34 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.424, allocations: 11.88 kB / 1.34 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/1.424, allocations: 22.42 kB / 1.34 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.444, allocations: 11.28 MB / 1.351 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.444, allocations: 10.48 kB / 1.351 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.447, allocations: 0.5046 MB / 1.352 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01269/1.46, allocations: 3.652 MB / 1.355 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004459/1.46, allocations: 49.42 kB / 1.355 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/1.477, allocations: 10.84 MB / 1.366 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.478, allocations: 14.47 kB / 1.366 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01312/1.491, allocations: 7.066 MB / 1.373 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.492, allocations: 0.6743 MB / 1.373 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/1.493, allocations: 22.05 kB / 1.373 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003361/1.496, allocations: 339 kB / 1.374 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/1.497, allocations: 143.8 kB / 1.374 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.497, allocations: 121.1 kB / 1.374 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001367/1.498, allocations: 0.9951 MB / 1.375 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004534/1.503, allocations: 1.407 MB / 1.376 GB, free: 217 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.0003722/1.503, allocations: 154 kB / 1.377 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.514, allocations: 7.683 MB / 1.384 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.514, allocations: 4 kB / 1.384 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/1.52, allocations: 2.713 MB / 1.387 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.521, allocations: 164.5 kB / 1.387 GB, free: 208 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.54, allocations: 7.425 MB / 1.394 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00304/1.543, allocations: 3.125 MB / 1.397 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/1.543, allocations: 0 / 1.397 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.07883/1.622, allocations: 66.89 MB / 1.463 GB, free: 142.7 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches