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.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.BalancedStepUp.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.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.633/1.633, allocations: 249.3 MB / 261.9 MB, free: 5.918 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.0009366/0.0009366, allocations: 166.7 kB / 321.3 MB, free: 14.64 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.432/1.432, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0007751/0.0007752, allocations: 94.41 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.907e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1791, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7108/0.89, allocations: 193.2 MB / 1.08 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.8903, allocations: 112.3 kB / 1.081 GB, free: 7.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.335/1.225, allocations: 140.1 MB / 1.217 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.703e-06/1.225, allocations: 0 / 1.217 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001387/1.226, allocations: 72 kB / 1.218 GB, free: 452 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.008729/1.234, allocations: 3.024 MB / 1.22 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.234, allocations: 8.031 kB / 1.22 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/1.248, allocations: 2.137 MB / 1.223 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/1.254, allocations: 2.244 MB / 1.225 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.254, allocations: 275.4 kB / 1.225 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/1.255, allocations: 356 kB / 1.225 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/1.267, allocations: 6.157 MB / 1.231 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.369e-05/1.267, allocations: 0 / 1.231 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/1.267, allocations: 156 kB / 1.232 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005594/1.268, allocations: 314.1 kB / 1.232 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/1.278, allocations: 5.505 MB / 1.237 GB, free: 12.05 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.5383/1.816, allocations: 28.23 MB / 1.265 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/1.822, allocations: 3.747 MB / 1.268 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/1.826, allocations: 1.869 MB / 1.27 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/1.826, allocations: 136.8 kB / 1.27 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.826, allocations: 62.97 kB / 1.27 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 4.969e-06/1.826, allocations: 0 / 1.27 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.09331/1.919, allocations: 24.62 MB / 1.294 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.919, allocations: 237.1 kB / 1.295 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.922, allocations: 1.279 MB / 1.296 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006496/1.923, allocations: 66.55 kB / 1.296 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.924, allocations: 1.549 MB / 1.298 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.925, allocations: 0.8694 MB / 1.298 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.925, allocations: 61.59 kB / 1.298 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.925, allocations: 436.1 kB / 1.299 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.929, allocations: 2.042 MB / 1.301 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.932, allocations: 2.945 MB / 1.304 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/1.935, allocations: 2.482 MB / 1.306 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/1.935, allocations: 7.844 kB / 1.306 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01455/1.95, allocations: 7.742 MB / 1.314 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002333/1.952, allocations: 10.8 MB / 1.324 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/1.952, allocations: 28.03 kB / 1.324 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02295/1.975, allocations: 6.135 MB / 1.33 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/1.98, allocations: 0.8854 MB / 1.331 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.999, allocations: 13.47 MB / 1.344 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/2.003, allocations: 0.5189 MB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/2.004, allocations: 200.2 kB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/2.004, allocations: 5.688 kB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01351/2.018, allocations: 7.036 MB / 1.352 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/2.018, allocations: 30.34 kB / 1.352 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008635/2.026, allocations: 2.729 MB / 1.355 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/2.031, allocations: 1.047 MB / 1.356 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/2.047, allocations: 10.98 MB / 1.366 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/2.052, allocations: 0.5009 MB / 1.367 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/2.053, allocations: 187.6 kB / 1.367 GB, free: 202 MB / 0.8698 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 (302): * Single equations (assignments): 300 * 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 prepare postOptimizeDAE: time 0.001196/2.054, allocations: 287.3 kB / 1.367 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008162/2.055, allocations: 192.6 kB / 1.367 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/2.069, allocations: 7.493 MB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/2.069, allocations: 28.81 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/2.069, allocations: 10.44 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/2.069, allocations: 12.3 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/2.091, allocations: 12.62 MB / 1.387 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/2.091, allocations: 7.75 kB / 1.387 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/2.094, allocations: 0.6231 MB / 1.388 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0219/2.116, allocations: 5.953 MB / 1.394 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006123/2.117, allocations: 88.25 kB / 1.394 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/2.134, allocations: 13.05 MB / 1.406 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/2.135, allocations: 19.52 kB / 1.406 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/2.147, allocations: 7.438 MB / 1.414 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/2.149, allocations: 0.7326 MB / 1.414 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/2.15, allocations: 58.7 kB / 1.414 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/2.153, allocations: 487.9 kB / 1.415 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/2.153, allocations: 192.5 kB / 1.415 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/2.154, allocations: 125.4 kB / 1.415 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001349/2.155, allocations: 1.001 MB / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.082e-06/2.155, allocations: 0 / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005653/2.161, allocations: 1.637 MB / 1.418 GB, free: 172 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 (158): * Single equations (assignments): 156 * 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.0004564/2.161, allocations: 202.9 kB / 1.418 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01595/2.177, allocations: 9.237 MB / 1.427 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.177, allocations: 0 / 1.427 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006074/2.183, allocations: 3.18 MB / 1.43 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.185, allocations: 209.1 kB / 1.43 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/2.21, allocations: 9.04 MB / 1.439 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/2.212, allocations: 2.87 MB / 1.442 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005128/2.218, allocations: 1.792 MB / 1.444 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/2.218, allocations: 151.3 kB / 1.444 GB, free: 148 MB / 0.8698 GB Notification: Performance of SimCode: time 2.345e-06/2.218, allocations: 0 / 1.444 GB, free: 148 MB / 0.8698 GB Notification: Performance of Templates: time 0.07701/2.295, allocations: 58.49 MB / 1.501 GB, free: 90.51 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches