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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.953 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.001004/0.001004, allocations: 180.8 kB / 316.3 MB, free: 3.219 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.442/1.442, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0009046/0.0009045, allocations: 87.56 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.285e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6496/0.8237, allocations: 193 MB / 1.074 GB, free: 11.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/0.8241, allocations: 112 kB / 1.074 GB, free: 11.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3435/1.168, allocations: 145.6 MB / 1.216 GB, free: 2.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.644e-06/1.168, allocations: 0 / 1.216 GB, free: 2.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001245/1.168, allocations: 83.98 kB / 1.216 GB, free: 2.008 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.007956/1.176, allocations: 3.13 MB / 1.219 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.176, allocations: 8.562 kB / 1.219 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/1.189, allocations: 2.153 MB / 1.221 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/1.195, allocations: 2.322 MB / 1.223 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.195, allocations: 128 kB / 1.224 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/1.195, allocations: 220 kB / 1.224 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009183/1.205, allocations: 5.084 MB / 1.229 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/1.215, allocations: 5.88 MB / 1.235 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.739e-05/1.215, allocations: 4 kB / 1.235 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/1.215, allocations: 4 kB / 1.235 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005092/1.216, allocations: 318.6 kB / 1.235 GB, free: 14.53 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5033/1.719, allocations: 27.8 MB / 1.262 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/1.725, allocations: 3.144 MB / 1.265 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/1.727, allocations: 1.549 MB / 1.267 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/1.728, allocations: 132.7 kB / 1.267 GB, free: 211 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.728, allocations: 60.47 kB / 1.267 GB, free: 211 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 5.19e-06/1.728, allocations: 3.781 kB / 1.267 GB, free: 211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.04078/1.769, allocations: 13.17 MB / 1.28 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/1.769, allocations: 231.7 kB / 1.28 GB, free: 208 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/1.772, allocations: 1.324 MB / 1.281 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/1.772, allocations: 30.89 kB / 1.281 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.773, allocations: 1.731 MB / 1.283 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.775, allocations: 0.7347 MB / 1.284 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/1.775, allocations: 0 / 1.284 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.775, allocations: 436.2 kB / 1.284 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.778, allocations: 1.864 MB / 1.286 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/1.782, allocations: 2.951 MB / 1.289 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/1.787, allocations: 2.722 MB / 1.291 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.455e-05/1.787, allocations: 11.88 kB / 1.291 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01604/1.803, allocations: 7.318 MB / 1.298 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003131/1.807, allocations: 14.1 MB / 1.312 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.542e-05/1.807, allocations: 34.69 kB / 1.312 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/1.818, allocations: 3.423 MB / 1.316 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/1.822, allocations: 0.9274 MB / 1.317 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.839, allocations: 11.39 MB / 1.328 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.844, allocations: 0.5003 MB / 1.328 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007471/1.844, allocations: 196.7 kB / 1.328 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.844, allocations: 3.562 kB / 1.328 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008305/1.853, allocations: 4.766 MB / 1.333 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/1.853, allocations: 33.38 kB / 1.333 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.387e-05/1.853, allocations: 64.02 kB / 1.333 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/1.858, allocations: 1.213 MB / 1.334 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-05/1.858, allocations: 79.64 kB / 1.334 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.862, allocations: 436.8 kB / 1.335 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004147/1.862, allocations: 197.3 kB / 1.335 GB, free: 187.5 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.0008945/1.863, allocations: 201 kB / 1.335 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/1.864, allocations: 189.6 kB / 1.335 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.877, allocations: 6.454 MB / 1.342 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/1.877, allocations: 29.11 kB / 1.342 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-05/1.877, allocations: 15.06 kB / 1.342 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-05/1.877, allocations: 10.22 kB / 1.342 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.901, allocations: 11.17 MB / 1.353 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.901, allocations: 10.66 kB / 1.353 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/1.904, allocations: 0.6075 MB / 1.353 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/1.917, allocations: 3.883 MB / 1.357 GB, free: 181 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000556/1.917, allocations: 49.5 kB / 1.357 GB, free: 181 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/1.934, allocations: 11.14 MB / 1.368 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/1.934, allocations: 18.84 kB / 1.368 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.947, allocations: 7.01 MB / 1.375 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.949, allocations: 0.6726 MB / 1.375 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/1.949, allocations: 18.36 kB / 1.375 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003611/1.953, allocations: 497.4 kB / 1.376 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/1.953, allocations: 187.1 kB / 1.376 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/1.953, allocations: 120.5 kB / 1.376 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001389/1.955, allocations: 0.9604 MB / 1.377 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.82e-07/1.955, allocations: 5.312 kB / 1.377 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006999/1.962, allocations: 1.423 MB / 1.379 GB, free: 172.3 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.0004816/1.962, allocations: 158.8 kB / 1.379 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.974, allocations: 7.524 MB / 1.386 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.974, allocations: 4.375 kB / 1.386 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.98, allocations: 2.808 MB / 1.389 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.982, allocations: 158.2 kB / 1.389 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/2.001, allocations: 7.581 MB / 1.396 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/2.004, allocations: 2.926 MB / 1.399 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005544/2.01, allocations: 1.827 MB / 1.401 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/2.01, allocations: 157.5 kB / 1.401 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/2.01, allocations: 0 / 1.401 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.06028/2.07, allocations: 47.19 MB / 1.447 GB, free: 117.4 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