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.BalancedStepDown.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.BalancedStepDown.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.BalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.BalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.0009589/0.000959, allocations: 185.7 kB / 321.3 MB, free: 14.63 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.286/1.286, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0007888/0.0007891, allocations: 94.44 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.846e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1857, allocations: 106.3 MB / 0.8918 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.8963, allocations: 193 MB / 1.08 GB, free: 8.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.8966, allocations: 110 kB / 1.08 GB, free: 8.141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3837/1.28, allocations: 140.4 MB / 1.217 GB, free: 464 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.684e-06/1.28, allocations: 0 / 1.217 GB, free: 464 kB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000122/1.281, allocations: 72 kB / 1.218 GB, free: 392 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.007502/1.288, allocations: 3.031 MB / 1.221 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.288, allocations: 8.031 kB / 1.221 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/1.301, allocations: 2.129 MB / 1.223 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/1.307, allocations: 2.236 MB / 1.225 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/1.307, allocations: 271.4 kB / 1.225 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/1.308, allocations: 360 kB / 1.225 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.32, allocations: 6.165 MB / 1.231 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/1.32, allocations: 7.938 kB / 1.231 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/1.321, allocations: 152 kB / 1.232 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005893/1.321, allocations: 310.2 kB / 1.232 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/1.332, allocations: 5.505 MB / 1.237 GB, free: 11.98 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.5109/1.842, allocations: 28.22 MB / 1.265 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005992/1.848, allocations: 3.75 MB / 1.268 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/1.851, allocations: 1.871 MB / 1.27 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/1.852, allocations: 136.6 kB / 1.27 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.852, allocations: 62.23 kB / 1.27 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 4.95e-06/1.852, allocations: 0 / 1.27 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.09012/1.942, allocations: 24.62 MB / 1.295 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/1.942, allocations: 233.3 kB / 1.295 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/1.944, allocations: 1.28 MB / 1.296 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005193/1.945, allocations: 67.36 kB / 1.296 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/1.946, allocations: 1.551 MB / 1.298 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009171/1.947, allocations: 0.8665 MB / 1.298 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.947, allocations: 61.12 kB / 1.298 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.947, allocations: 443.1 kB / 1.299 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/1.951, allocations: 2.042 MB / 1.301 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/1.954, allocations: 2.939 MB / 1.304 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/1.957, allocations: 2.488 MB / 1.306 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.957, allocations: 7.812 kB / 1.306 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01379/1.97, allocations: 7.74 MB / 1.314 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00343/1.974, allocations: 10.79 MB / 1.324 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-05/1.974, allocations: 27.41 kB / 1.324 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02286/1.997, allocations: 6.149 MB / 1.33 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/2.001, allocations: 0.8736 MB / 1.331 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/2.019, allocations: 13.45 MB / 1.344 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/2.024, allocations: 0.5284 MB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/2.025, allocations: 194.8 kB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/2.025, allocations: 7.234 kB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01358/2.038, allocations: 7.045 MB / 1.352 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/2.038, allocations: 28.12 kB / 1.352 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008535/2.047, allocations: 2.724 MB / 1.355 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/2.052, allocations: 1.05 MB / 1.356 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/2.067, allocations: 10.99 MB / 1.366 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/2.072, allocations: 0.4984 MB / 1.367 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/2.072, allocations: 187.8 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.0008982/2.073, allocations: 281.6 kB / 1.367 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/2.074, allocations: 198.5 kB / 1.367 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/2.088, allocations: 7.498 MB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/2.088, allocations: 24.5 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/2.088, allocations: 11.81 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/2.088, allocations: 10.27 kB / 1.375 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/2.112, allocations: 12.62 MB / 1.387 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/2.112, allocations: 6.406 kB / 1.387 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003232/2.116, allocations: 0.6199 MB / 1.388 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02293/2.139, allocations: 5.95 MB / 1.394 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006349/2.139, allocations: 90.12 kB / 1.394 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/2.157, allocations: 13.06 MB / 1.406 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-06/2.158, allocations: 11.47 kB / 1.406 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/2.171, allocations: 7.435 MB / 1.414 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/2.172, allocations: 0.7366 MB / 1.414 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007514/2.173, allocations: 48 kB / 1.414 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003707/2.177, allocations: 491.4 kB / 1.415 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/2.178, allocations: 200 kB / 1.415 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/2.178, allocations: 122.5 kB / 1.415 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001755/2.18, allocations: 1.003 MB / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.18, allocations: 0 / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008542/2.188, allocations: 1.64 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.0007166/2.189, allocations: 205 kB / 1.418 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01634/2.205, allocations: 9.226 MB / 1.427 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/2.205, allocations: 128 / 1.427 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006094/2.212, allocations: 3.172 MB / 1.43 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/2.213, allocations: 214.9 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.02607/2.239, allocations: 9.038 MB / 1.439 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/2.243, allocations: 2.877 MB / 1.442 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005564/2.248, allocations: 1.782 MB / 1.444 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/2.249, allocations: 155.3 kB / 1.444 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/2.249, allocations: 0 / 1.444 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.07422/2.323, allocations: 58.56 MB / 1.501 GB, free: 90.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches