Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 114.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 188.3 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 63.84 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY): time 0.02381/1.133, allocations: 18.19 MB / 1.185 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01469/1.148, allocations: 6.789 MB / 1.192 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.15, allocations: 55.88 kB / 1.192 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004637/1.154, allocations: 1.577 MB / 1.193 GB, free: 9.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/1.159, allocations: 1.475 MB / 1.195 GB, free: 7.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/1.163, allocations: 1.276 MB / 1.196 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007954/1.171, allocations: 5.613 MB / 1.202 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/1.183, allocations: 7.443 MB / 1.209 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/1.188, allocations: 2.466 MB / 1.211 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/1.194, allocations: 3.062 MB / 1.214 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002032/1.196, allocations: 0.5391 MB / 1.215 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/1.2, allocations: 1.287 MB / 1.216 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004599/1.205, allocations: 2.328 MB / 1.218 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006137/1.211, allocations: 2.253 MB / 1.22 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/1.223, allocations: 8.109 MB / 1.228 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.223, allocations: 0 / 1.228 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.146e-06/1.223, allocations: 0 / 1.228 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002809/1.224, allocations: 4 kB / 1.228 GB, free: 5.074 MB / 0.9512 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.01307/1.237, allocations: 3.993 MB / 1.232 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.237, allocations: 8.922 kB / 1.232 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/1.25, allocations: 2.444 MB / 1.235 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/1.256, allocations: 2.246 MB / 1.237 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/1.257, allocations: 279.7 kB / 1.237 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/1.259, allocations: 363.9 kB / 1.238 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/1.28, allocations: 7.357 MB / 1.245 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/1.28, allocations: 11.89 kB / 1.245 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/1.282, allocations: 152 kB / 1.245 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005355/1.282, allocations: 338.3 kB / 1.245 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/1.301, allocations: 7.169 MB / 1.252 GB, free: 12.48 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04193/1.343, allocations: 28.08 MB / 1.28 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/1.352, allocations: 4.175 MB / 1.284 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/1.358, allocations: 2.35 MB / 1.286 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/1.358, allocations: 131 kB / 1.286 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/1.358, allocations: 68.44 kB / 1.286 GB, free: 7.031 MB / 1.014 GB Notification: Performance of pre-optimization done (n=198): time 4.008e-06/1.358, allocations: 0 / 1.286 GB, free: 7.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=257): time 0.1038/1.462, allocations: 30.52 MB / 1.316 GB, free: 8.473 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.462, allocations: 239.6 kB / 1.316 GB, free: 8.188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/1.465, allocations: 1.443 MB / 1.318 GB, free: 6.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006617/1.466, allocations: 65.7 kB / 1.318 GB, free: 6.664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.467, allocations: 1.604 MB / 1.319 GB, free: 5.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.468, allocations: 0.9141 MB / 1.32 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/1.47, allocations: 0.62 MB / 1.321 GB, free: 3.492 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.47, allocations: 305.1 kB / 1.321 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005877/1.476, allocations: 2.572 MB / 1.324 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/1.482, allocations: 3.458 MB / 1.327 GB, free: 12.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.495, allocations: 6.144 MB / 1.333 GB, free: 6.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/1.495, allocations: 8 kB / 1.333 GB, free: 6.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.0276/1.523, allocations: 10.23 MB / 1.343 GB, free: 11.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/1.523, allocations: 16 kB / 1.343 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/1.523, allocations: 28 kB / 1.343 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01984/1.543, allocations: 5.356 MB / 1.348 GB, free: 6.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/1.547, allocations: 0.9984 MB / 1.349 GB, free: 5.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04131/1.588, allocations: 23.56 MB / 1.372 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/1.593, allocations: 0.5733 MB / 1.373 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007245/1.594, allocations: 148.1 kB / 1.373 GB, free: 12.97 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008866/1.603, allocations: 3.913 MB / 1.377 GB, free: 9.047 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006798/1.61, allocations: 3.419 MB / 1.38 GB, free: 5.242 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01254/1.622, allocations: 6.078 MB / 1.386 GB, free: 14.76 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.831e-05/1.622, allocations: 8 kB / 1.386 GB, free: 14.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.02333/1.646, allocations: 8.597 MB / 1.394 GB, free: 6.094 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.646, allocations: 16 kB / 1.394 GB, free: 6.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/1.646, allocations: 28 kB / 1.394 GB, free: 6.051 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/1.659, allocations: 3.31 MB / 1.398 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/1.664, allocations: 1.139 MB / 1.399 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/1.687, allocations: 12.77 MB / 1.411 GB, free: 4.668 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.691, allocations: 0.5537 MB / 1.412 GB, free: 4.113 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/1.692, allocations: 148 kB / 1.412 GB, free: 3.969 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,42)} Notification: Performance of prepare postOptimizeDAE: time 0.001244/1.693, allocations: 371.4 kB / 1.412 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008194/1.694, allocations: 198.8 kB / 1.412 GB, free: 3.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02742/1.721, allocations: 9.779 MB / 1.422 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-05/1.722, allocations: 15.95 kB / 1.422 GB, free: 9.555 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.722, allocations: 0 / 1.422 GB, free: 9.555 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.723, allocations: 0.6909 MB / 1.423 GB, free: 8.844 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007804/1.724, allocations: 47.98 kB / 1.423 GB, free: 8.797 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003889/1.728, allocations: 0.4992 MB / 1.423 GB, free: 8.297 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008688/1.729, allocations: 269.4 kB / 1.423 GB, free: 8.035 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02339/1.752, allocations: 8.801 MB / 1.432 GB, free: 15.2 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01711/1.77, allocations: 8.277 MB / 1.44 GB, free: 6.898 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00511/1.775, allocations: 2.423 MB / 1.443 GB, free: 4.473 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001992/1.777, allocations: 1.035 MB / 1.444 GB, free: 3.434 MB / 1.17 GB Notification: Performance of Backend: time 4.61e-07/1.777, allocations: 0 / 1.444 GB, free: 3.434 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02626/1.803, allocations: 9.664 MB / 1.453 GB, free: 9.727 MB / 1.186 GB Notification: Performance of SimCode: time 0.01379/1.817, allocations: 7.219 MB / 1.46 GB, free: 2.457 MB / 1.186 GB Notification: Performance of Templates: time 0.1353/1.952, allocations: 88.79 MB / 1.547 GB, free: 9.762 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches