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.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.UnbalancedStepUp.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.UnbalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 249.3 MB / 261.8 MB, free: 5.781 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.0009421/0.0009421, allocations: 180.9 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.339/1.339, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009392/0.0009393, allocations: 94.45 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.148e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6718/0.8515, allocations: 193.7 MB / 1.081 GB, free: 7.602 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.8518, allocations: 119.1 kB / 1.081 GB, free: 7.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3474/1.199, allocations: 146.9 MB / 1.225 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.198e-06/1.199, allocations: 4 kB / 1.225 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001573/1.2, allocations: 79.98 kB / 1.225 GB, free: 9.066 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.009445/1.209, allocations: 3.15 MB / 1.228 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.209, allocations: 8.031 kB / 1.228 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/1.223, allocations: 2.168 MB / 1.23 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/1.23, allocations: 2.326 MB / 1.232 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/1.23, allocations: 299.9 kB / 1.232 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/1.232, allocations: 388 kB / 1.233 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/1.248, allocations: 6.463 MB / 1.239 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.248, allocations: 7.938 kB / 1.239 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/1.249, allocations: 171.9 kB / 1.239 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005873/1.249, allocations: 310.7 kB / 1.24 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/1.261, allocations: 5.643 MB / 1.245 GB, free: 3.922 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.5152/1.777, allocations: 28.67 MB / 1.273 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005577/1.782, allocations: 3.226 MB / 1.276 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/1.785, allocations: 1.608 MB / 1.278 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/1.785, allocations: 124.9 kB / 1.278 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/1.785, allocations: 61.03 kB / 1.278 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=176): time 4.489e-06/1.785, allocations: 0 / 1.278 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=221): time 0.07286/1.858, allocations: 20.46 MB / 1.298 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/1.858, allocations: 234.1 kB / 1.298 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/1.861, allocations: 1.462 MB / 1.3 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005245/1.862, allocations: 62.52 kB / 1.3 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.863, allocations: 1.753 MB / 1.301 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/1.864, allocations: 0.757 MB / 1.302 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.864, allocations: 62.38 kB / 1.302 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.864, allocations: 436.5 kB / 1.303 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.867, allocations: 1.92 MB / 1.304 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/1.871, allocations: 3.035 MB / 1.307 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/1.874, allocations: 2.417 MB / 1.31 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/1.874, allocations: 11.78 kB / 1.31 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01338/1.887, allocations: 7.471 MB / 1.317 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003092/1.891, allocations: 14.09 MB / 1.331 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.109e-05/1.891, allocations: 39.28 kB / 1.331 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/1.912, allocations: 5.903 MB / 1.337 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.916, allocations: 0.9338 MB / 1.338 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/1.933, allocations: 11.45 MB / 1.349 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005063/1.938, allocations: 0.5518 MB / 1.349 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006198/1.939, allocations: 202.7 kB / 1.349 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.939, allocations: 7.781 kB / 1.349 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/1.952, allocations: 6.808 MB / 1.356 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.952, allocations: 38.22 kB / 1.356 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008181/1.96, allocations: 2.609 MB / 1.359 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/1.965, allocations: 1.075 MB / 1.36 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.978, allocations: 9.322 MB / 1.369 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.983, allocations: 0.5075 MB / 1.369 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/1.983, allocations: 203.5 kB / 1.37 GB, free: 192.4 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.0008196/1.984, allocations: 299.9 kB / 1.37 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/1.985, allocations: 198.3 kB / 1.37 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.997, allocations: 6.375 MB / 1.376 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/1.997, allocations: 29.75 kB / 1.376 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.997, allocations: 12.98 kB / 1.376 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/1.997, allocations: 13.84 kB / 1.376 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/2.017, allocations: 11.74 MB / 1.388 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/2.017, allocations: 7 kB / 1.388 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/2.02, allocations: 0.6122 MB / 1.388 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02129/2.041, allocations: 5.726 MB / 1.394 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/2.042, allocations: 78.11 kB / 1.394 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/2.058, allocations: 11.11 MB / 1.405 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/2.058, allocations: 12.5 kB / 1.405 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/2.069, allocations: 6.927 MB / 1.412 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.071, allocations: 0.694 MB / 1.412 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/2.072, allocations: 44 kB / 1.412 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/2.075, allocations: 487 kB / 1.413 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/2.075, allocations: 178.6 kB / 1.413 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/2.075, allocations: 119.8 kB / 1.413 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001437/2.077, allocations: 1.098 MB / 1.414 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.077, allocations: 0 / 1.414 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005569/2.083, allocations: 1.651 MB / 1.416 GB, free: 171.7 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.0004322/2.083, allocations: 191.8 kB / 1.416 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01465/2.098, allocations: 8.699 MB / 1.424 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.098, allocations: 4 kB / 1.424 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005814/2.104, allocations: 2.88 MB / 1.427 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/2.106, allocations: 218.6 kB / 1.428 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.128, allocations: 7.739 MB / 1.435 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004385/2.132, allocations: 2.956 MB / 1.438 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006195/2.138, allocations: 1.81 MB / 1.44 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/2.139, allocations: 160.5 kB / 1.44 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/2.139, allocations: 0 / 1.44 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.07181/2.211, allocations: 54.3 MB / 1.493 GB, free: 98.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches