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.414/1.414, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.0009802/0.0009803, allocations: 172.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.000886/0.000886, allocations: 90.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.734e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6606/0.828, allocations: 192.7 MB / 1.08 GB, free: 8.535 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.8284, allocations: 121.6 kB / 1.08 GB, free: 8.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3542/1.183, allocations: 146.2 MB / 1.223 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.183, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001507/1.183, allocations: 83.98 kB / 1.223 GB, free: 10.79 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01101/1.194, allocations: 3.13 MB / 1.226 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.194, allocations: 8.031 kB / 1.226 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/1.207, allocations: 2.153 MB / 1.228 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/1.213, allocations: 2.318 MB / 1.23 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/1.214, allocations: 295.8 kB / 1.231 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/1.215, allocations: 384 kB / 1.231 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/1.232, allocations: 6.434 MB / 1.237 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.233, allocations: 7.938 kB / 1.237 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/1.234, allocations: 167.9 kB / 1.237 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005733/1.234, allocations: 310.6 kB / 1.238 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/1.247, allocations: 5.635 MB / 1.243 GB, free: 5.734 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.6141/1.861, allocations: 28.58 MB / 1.271 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005686/1.867, allocations: 3.228 MB / 1.274 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/1.87, allocations: 1.608 MB / 1.276 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/1.87, allocations: 131.5 kB / 1.276 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.87, allocations: 56.98 kB / 1.276 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=176): time 4.198e-06/1.87, allocations: 0 / 1.276 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=221): time 0.07246/1.943, allocations: 20.41 MB / 1.296 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.943, allocations: 233.6 kB / 1.296 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/1.946, allocations: 1.432 MB / 1.298 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/1.946, allocations: 62.92 kB / 1.298 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.947, allocations: 1.727 MB / 1.299 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009278/1.948, allocations: 0.7612 MB / 1.3 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.948, allocations: 63.12 kB / 1.3 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.948, allocations: 438 kB / 1.301 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.952, allocations: 1.92 MB / 1.303 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/1.955, allocations: 3.038 MB / 1.305 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/1.959, allocations: 2.412 MB / 1.308 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.959, allocations: 16.5 kB / 1.308 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01474/1.973, allocations: 7.462 MB / 1.315 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002769/1.976, allocations: 14.1 MB / 1.329 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-05/1.976, allocations: 40.75 kB / 1.329 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/1.999, allocations: 5.905 MB / 1.335 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/2.003, allocations: 0.9336 MB / 1.336 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/2.019, allocations: 11.45 MB / 1.347 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/2.024, allocations: 0.5459 MB / 1.347 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/2.025, allocations: 207.8 kB / 1.348 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/2.025, allocations: 3.875 kB / 1.348 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/2.038, allocations: 6.812 MB / 1.354 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/2.038, allocations: 34.03 kB / 1.354 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/2.046, allocations: 2.616 MB / 1.357 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/2.051, allocations: 1.069 MB / 1.358 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/2.065, allocations: 9.312 MB / 1.367 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/2.069, allocations: 0.5135 MB / 1.367 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/2.07, allocations: 201.2 kB / 1.368 GB, free: 194.6 MB / 0.8698 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.001225/2.071, allocations: 300.1 kB / 1.368 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008625/2.072, allocations: 197.6 kB / 1.368 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.085, allocations: 6.382 MB / 1.374 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/2.085, allocations: 22.03 kB / 1.374 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/2.085, allocations: 11.19 kB / 1.374 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-05/2.085, allocations: 15.06 kB / 1.374 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/2.106, allocations: 11.72 MB / 1.386 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/2.106, allocations: 11.59 kB / 1.386 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/2.109, allocations: 0.6128 MB / 1.386 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02144/2.13, allocations: 5.718 MB / 1.392 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007402/2.131, allocations: 80.8 kB / 1.392 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/2.146, allocations: 11.11 MB / 1.403 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/2.146, allocations: 11.62 kB / 1.403 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/2.158, allocations: 6.908 MB / 1.41 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/2.159, allocations: 0.6846 MB / 1.41 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/2.16, allocations: 47.89 kB / 1.41 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/2.163, allocations: 476.3 kB / 1.411 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/2.163, allocations: 182.4 kB / 1.411 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/2.164, allocations: 117.7 kB / 1.411 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001398/2.165, allocations: 1.063 MB / 1.412 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/2.165, allocations: 0 / 1.412 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00546/2.171, allocations: 1.649 MB / 1.414 GB, free: 174 MB / 0.8698 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.000395/2.171, allocations: 195 kB / 1.414 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01454/2.185, allocations: 8.706 MB / 1.422 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.186, allocations: 0 / 1.422 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00548/2.191, allocations: 2.876 MB / 1.425 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/2.193, allocations: 204 kB / 1.425 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/2.211, allocations: 7.7 MB / 1.433 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/2.214, allocations: 2.941 MB / 1.436 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005262/2.219, allocations: 1.804 MB / 1.438 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/2.22, allocations: 157.1 kB / 1.438 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/2.22, allocations: 0 / 1.438 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.0718/2.292, allocations: 53.71 MB / 1.49 GB, free: 101.3 MB / 0.8698 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