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.374/1.374, allocations: 249.5 MB / 257 MB, free: 6.984 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.001008/0.001009, allocations: 169 kB / 316.3 MB, free: 3.312 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.329/1.329, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008606/0.0008605, allocations: 89.34 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.732e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1882, allocations: 106.3 MB / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7241/0.9124, allocations: 194 MB / 1.075 GB, free: 10.29 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.9128, allocations: 112 kB / 1.075 GB, free: 10.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3388/1.252, allocations: 140.2 MB / 1.212 GB, free: 6.645 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/1.252, allocations: 0 / 1.212 GB, free: 6.645 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001625/1.252, allocations: 76 kB / 1.212 GB, free: 6.57 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.008821/1.261, allocations: 3.043 MB / 1.215 GB, free: 3.469 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.261, allocations: 12.56 kB / 1.215 GB, free: 3.457 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/1.274, allocations: 2.145 MB / 1.217 GB, free: 1.305 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/1.279, allocations: 2.248 MB / 1.219 GB, free: 15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/1.28, allocations: 120 kB / 1.219 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/1.281, allocations: 211.9 kB / 1.219 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009717/1.291, allocations: 4.99 MB / 1.224 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/1.301, allocations: 5.653 MB / 1.23 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/1.301, allocations: 0 / 1.23 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/1.301, allocations: 11.94 kB / 1.23 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005306/1.302, allocations: 306.3 kB / 1.23 GB, free: 3.598 MB / 0.8386 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.03313/1.335, allocations: 27.55 MB / 1.257 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/1.34, allocations: 3.656 MB / 1.261 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4582/1.798, allocations: 1.804 MB / 1.262 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/1.799, allocations: 132.6 kB / 1.262 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.749e-05/1.799, allocations: 64.25 kB / 1.263 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 7.744e-06/1.799, allocations: 0 / 1.263 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.04354/1.842, allocations: 14.15 MB / 1.276 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/1.843, allocations: 237.2 kB / 1.277 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.845, allocations: 1.186 MB / 1.278 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005693/1.846, allocations: 27.08 kB / 1.278 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/1.847, allocations: 1.563 MB / 1.279 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.848, allocations: 0.8299 MB / 1.28 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/1.849, allocations: 0 / 1.28 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002778/1.849, allocations: 439.2 kB / 1.28 GB, free: 235 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/1.853, allocations: 1.983 MB / 1.282 GB, free: 235 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/1.857, allocations: 2.864 MB / 1.285 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/1.864, allocations: 2.829 MB / 1.288 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-05/1.864, allocations: 8.344 kB / 1.288 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01842/1.883, allocations: 7.666 MB / 1.295 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002163/1.885, allocations: 10.8 MB / 1.306 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.885, allocations: 26.66 kB / 1.306 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/1.898, allocations: 3.642 MB / 1.31 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/1.902, allocations: 0.8781 MB / 1.31 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.922, allocations: 13.33 MB / 1.323 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.927, allocations: 476 kB / 1.324 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009434/1.928, allocations: 194.6 kB / 1.324 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.928, allocations: 3.938 kB / 1.324 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/1.938, allocations: 4.942 MB / 1.329 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.938, allocations: 25.34 kB / 1.329 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/1.938, allocations: 48.5 kB / 1.329 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/1.944, allocations: 1.221 MB / 1.33 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.821e-05/1.944, allocations: 67.45 kB / 1.33 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.948, allocations: 424 kB / 1.331 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008561/1.949, allocations: 186.9 kB / 1.331 GB, free: 220.2 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.001431/1.95, allocations: 183.9 kB / 1.331 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.951, allocations: 190.5 kB / 1.331 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.967, allocations: 7.601 MB / 1.339 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/1.967, allocations: 23.56 kB / 1.339 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-05/1.967, allocations: 11.38 kB / 1.339 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.91e-05/1.967, allocations: 14.23 kB / 1.339 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.989, allocations: 12.12 MB / 1.351 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.989, allocations: 10.78 kB / 1.351 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.992, allocations: 0.6134 MB / 1.351 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/2.004, allocations: 4.11 MB / 1.355 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005705/2.005, allocations: 57.95 kB / 1.355 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/2.023, allocations: 13 MB / 1.368 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/2.023, allocations: 15.19 kB / 1.368 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/2.036, allocations: 7.567 MB / 1.375 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/2.038, allocations: 0.7327 MB / 1.376 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/2.039, allocations: 9.594 kB / 1.376 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/2.042, allocations: 0.4971 MB / 1.377 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/2.043, allocations: 194.7 kB / 1.377 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/2.043, allocations: 128.8 kB / 1.377 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001392/2.044, allocations: 0.9143 MB / 1.378 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/2.045, allocations: 0 / 1.378 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006931/2.051, allocations: 1.404 MB / 1.379 GB, free: 203.1 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.0005212/2.052, allocations: 157 kB / 1.379 GB, free: 203 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01285/2.065, allocations: 7.992 MB / 1.387 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.065, allocations: 5.094 kB / 1.387 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005673/2.071, allocations: 3.095 MB / 1.39 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/2.072, allocations: 159.3 kB / 1.39 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/2.097, allocations: 8.945 MB / 1.399 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/2.101, allocations: 2.862 MB / 1.402 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005914/2.107, allocations: 1.819 MB / 1.404 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/2.108, allocations: 148.3 kB / 1.404 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/2.108, allocations: 0 / 1.404 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.06613/2.174, allocations: 51.37 MB / 1.454 GB, free: 144.1 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