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.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.9 MB, free: 5.793 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.0009694/0.0009695, allocations: 176.8 kB / 321.3 MB, free: 14.66 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.2 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.001004/0.001004, allocations: 95.97 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.9e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7066/0.888, allocations: 193.8 MB / 1.081 GB, free: 7.492 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.8884, allocations: 116.8 kB / 1.081 GB, free: 7.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3923/1.281, allocations: 140.8 MB / 1.219 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.013e-06/1.281, allocations: 0 / 1.219 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000128/1.281, allocations: 72 kB / 1.219 GB, free: 15.22 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.007842/1.289, allocations: 3.051 MB / 1.222 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.289, allocations: 8.031 kB / 1.222 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/1.302, allocations: 2.141 MB / 1.224 GB, free: 9.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/1.308, allocations: 2.252 MB / 1.226 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/1.308, allocations: 279.5 kB / 1.226 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/1.309, allocations: 371.8 kB / 1.227 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/1.324, allocations: 6.178 MB / 1.233 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.324, allocations: 7.938 kB / 1.233 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/1.324, allocations: 159.9 kB / 1.233 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005423/1.325, allocations: 310.3 kB / 1.233 GB, free: 260 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/1.335, allocations: 5.517 MB / 1.239 GB, free: 10.73 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.5034/1.839, allocations: 28.3 MB / 1.266 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/1.845, allocations: 3.744 MB / 1.27 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/1.848, allocations: 1.867 MB / 1.272 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/1.849, allocations: 140.3 kB / 1.272 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.849, allocations: 63 kB / 1.272 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 4.288e-06/1.849, allocations: 0 / 1.272 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.09197/1.941, allocations: 24.67 MB / 1.296 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/1.941, allocations: 232.9 kB / 1.296 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.943, allocations: 1.317 MB / 1.297 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.944, allocations: 70.14 kB / 1.297 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009106/1.945, allocations: 1.566 MB / 1.299 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009746/1.946, allocations: 0.866 MB / 1.3 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.946, allocations: 62.06 kB / 1.3 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.946, allocations: 435.6 kB / 1.3 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.95, allocations: 2.04 MB / 1.302 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/1.953, allocations: 2.942 MB / 1.305 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/1.956, allocations: 2.487 MB / 1.308 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/1.956, allocations: 10.97 kB / 1.308 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01405/1.97, allocations: 7.744 MB / 1.315 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/1.972, allocations: 10.8 MB / 1.326 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.871e-05/1.973, allocations: 28 kB / 1.326 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02243/1.995, allocations: 6.13 MB / 1.332 GB, free: 210 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.999, allocations: 0.88 MB / 1.333 GB, free: 210 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/2.018, allocations: 13.48 MB / 1.346 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/2.023, allocations: 0.5202 MB / 1.346 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004962/2.023, allocations: 190.6 kB / 1.346 GB, free: 208 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/2.023, allocations: 3.844 kB / 1.346 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/2.036, allocations: 7.046 MB / 1.353 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.043e-05/2.036, allocations: 27.88 kB / 1.353 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008439/2.045, allocations: 2.73 MB / 1.356 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/2.05, allocations: 1.05 MB / 1.357 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/2.064, allocations: 10.98 MB / 1.368 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/2.068, allocations: 0.5003 MB / 1.368 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/2.069, allocations: 193.5 kB / 1.368 GB, free: 200.9 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.000809/2.069, allocations: 279.5 kB / 1.369 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/2.07, allocations: 189.3 kB / 1.369 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.083, allocations: 7.508 MB / 1.376 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/2.083, allocations: 24.84 kB / 1.376 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/2.083, allocations: 17.62 kB / 1.376 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/2.083, allocations: 10.88 kB / 1.376 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/2.103, allocations: 12.64 MB / 1.389 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/2.103, allocations: 14.97 kB / 1.389 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/2.106, allocations: 0.6123 MB / 1.389 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02176/2.128, allocations: 5.953 MB / 1.395 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006315/2.128, allocations: 86.33 kB / 1.395 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/2.145, allocations: 13.06 MB / 1.408 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/2.146, allocations: 19.19 kB / 1.408 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/2.158, allocations: 7.449 MB / 1.415 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/2.159, allocations: 0.7445 MB / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/2.16, allocations: 48 kB / 1.416 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/2.163, allocations: 493.1 kB / 1.416 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/2.164, allocations: 199.1 kB / 1.417 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/2.164, allocations: 121.5 kB / 1.417 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001298/2.165, allocations: 1.026 MB / 1.418 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/2.165, allocations: 1.688 kB / 1.418 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005083/2.17, allocations: 1.653 MB / 1.419 GB, free: 170.5 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.0004243/2.171, allocations: 196 kB / 1.42 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01488/2.186, allocations: 9.242 MB / 1.429 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/2.186, allocations: 0 / 1.429 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005844/2.192, allocations: 3.167 MB / 1.432 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/2.193, allocations: 225.9 kB / 1.432 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/2.217, allocations: 9.087 MB / 1.441 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/2.22, allocations: 2.886 MB / 1.444 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004968/2.225, allocations: 1.786 MB / 1.445 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/2.225, allocations: 155.3 kB / 1.445 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/2.225, allocations: 4 kB / 1.445 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.07325/2.299, allocations: 59.06 MB / 1.503 GB, free: 88.45 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches