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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.988 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.0009607/0.0009607, allocations: 184.8 kB / 316.3 MB, free: 3.23 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.454/1.454, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.000876/0.000876, allocations: 86.47 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.678e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1875, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7313/0.9189, allocations: 193.3 MB / 1.074 GB, free: 10.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/0.9193, allocations: 109.9 kB / 1.074 GB, free: 10.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3348/1.254, allocations: 139.7 MB / 1.211 GB, free: 7.758 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/1.254, allocations: 4 kB / 1.211 GB, free: 7.754 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001254/1.254, allocations: 76 kB / 1.211 GB, free: 7.68 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: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.006322/1.261, allocations: 3.02 MB / 1.214 GB, free: 4.602 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.261, allocations: 8.562 kB / 1.214 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/1.273, allocations: 2.137 MB / 1.216 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/1.277, allocations: 2.232 MB / 1.218 GB, free: 172 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.277, allocations: 120 kB / 1.218 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007662/1.278, allocations: 208 kB / 1.218 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009079/1.287, allocations: 4.97 MB / 1.223 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/1.299, allocations: 5.632 MB / 1.229 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/1.299, allocations: 3.938 kB / 1.229 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007243/1.3, allocations: 7.953 kB / 1.229 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005691/1.3, allocations: 302.2 kB / 1.229 GB, free: 4.809 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.04042/1.341, allocations: 27.51 MB / 1.256 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/1.346, allocations: 3.66 MB / 1.259 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/1.35, allocations: 1.803 MB / 1.261 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/1.35, allocations: 139 kB / 1.261 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/1.35, allocations: 60.5 kB / 1.261 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 4.619e-06/1.35, allocations: 0 / 1.261 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.5424/1.892, allocations: 14.1 MB / 1.275 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/1.893, allocations: 235.6 kB / 1.275 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/1.895, allocations: 1.179 MB / 1.276 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004743/1.895, allocations: 26.7 kB / 1.276 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.896, allocations: 1.557 MB / 1.278 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009142/1.897, allocations: 0.8294 MB / 1.279 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.897, allocations: 0 / 1.279 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.898, allocations: 435.7 kB / 1.279 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.9, allocations: 1.979 MB / 1.281 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/1.904, allocations: 2.871 MB / 1.284 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005499/1.91, allocations: 2.831 MB / 1.287 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/1.91, allocations: 7.219 kB / 1.287 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01757/1.927, allocations: 7.667 MB / 1.294 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002377/1.93, allocations: 10.8 MB / 1.305 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.831e-05/1.93, allocations: 31.16 kB / 1.305 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/1.942, allocations: 3.647 MB / 1.308 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.947, allocations: 0.8774 MB / 1.309 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/1.967, allocations: 13.33 MB / 1.322 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/1.972, allocations: 477.5 kB / 1.323 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008662/1.972, allocations: 184.5 kB / 1.323 GB, free: 221 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.972, allocations: 9.109 kB / 1.323 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009378/1.982, allocations: 4.946 MB / 1.328 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.982, allocations: 28.44 kB / 1.328 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.705e-05/1.982, allocations: 48.06 kB / 1.328 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/1.987, allocations: 1.216 MB / 1.329 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.309e-05/1.987, allocations: 61.69 kB / 1.329 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/1.991, allocations: 417.8 kB / 1.329 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005414/1.992, allocations: 194 kB / 1.33 GB, free: 220.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.0009784/1.992, allocations: 185.4 kB / 1.33 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008018/1.993, allocations: 188.6 kB / 1.33 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/2.008, allocations: 7.598 MB / 1.337 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/2.008, allocations: 25.09 kB / 1.337 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/2.008, allocations: 17.12 kB / 1.337 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/2.008, allocations: 11.02 kB / 1.337 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/2.031, allocations: 12.1 MB / 1.349 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/2.031, allocations: 7.75 kB / 1.349 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/2.034, allocations: 0.618 MB / 1.35 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/2.046, allocations: 4.105 MB / 1.354 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/2.046, allocations: 54.17 kB / 1.354 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/2.064, allocations: 13.02 MB / 1.367 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.064, allocations: 8.406 kB / 1.367 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/2.078, allocations: 7.551 MB / 1.374 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/2.08, allocations: 0.7265 MB / 1.375 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006441/2.081, allocations: 14.72 kB / 1.375 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/2.084, allocations: 0.494 MB / 1.375 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/2.085, allocations: 198 kB / 1.375 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/2.085, allocations: 127.4 kB / 1.375 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001408/2.087, allocations: 0.9061 MB / 1.376 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/2.087, allocations: 0 / 1.376 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006288/2.093, allocations: 1.403 MB / 1.378 GB, free: 203.8 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.0004992/2.093, allocations: 163 kB / 1.378 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01261/2.106, allocations: 7.996 MB / 1.386 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/2.106, allocations: 0 / 1.386 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/2.112, allocations: 3.107 MB / 1.389 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/2.113, allocations: 146.2 kB / 1.389 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/2.14, allocations: 8.916 MB / 1.398 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003751/2.143, allocations: 2.857 MB / 1.4 GB, free: 191 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006185/2.15, allocations: 1.803 MB / 1.402 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/2.15, allocations: 156.3 kB / 1.402 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/2.15, allocations: 0 / 1.402 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.06708/2.217, allocations: 51.36 MB / 1.452 GB, free: 145.7 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