Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001203/0.001203, allocations: 111.5 kB / 16.42 MB, free: 6.469 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.001274/0.001274, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.628/2.628, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 59.91 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.901, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY): time 0.02376/0.9248, allocations: 18.17 MB / 1.244 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.9369, allocations: 6.808 MB / 1.251 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.9387, allocations: 55.88 kB / 1.251 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.9432, allocations: 1.578 MB / 1.252 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.9474, allocations: 1.478 MB / 1.254 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.9509, allocations: 1.265 MB / 1.255 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007471/0.9584, allocations: 5.609 MB / 1.261 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.9686, allocations: 7.455 MB / 1.268 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.9729, allocations: 2.47 MB / 1.27 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005724/0.9787, allocations: 3.054 MB / 1.273 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.9806, allocations: 0.5391 MB / 1.274 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.9845, allocations: 1.291 MB / 1.275 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0047/0.9892, allocations: 2.324 MB / 1.277 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.995, allocations: 2.265 MB / 1.28 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/1.006, allocations: 8.101 MB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.006, allocations: 4 kB / 1.287 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.565e-06/1.006, allocations: 0 / 1.287 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002411/1.006, allocations: 3.938 kB / 1.287 GB, free: 14.76 MB / 1.014 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.01052/1.017, allocations: 3.99 MB / 1.291 GB, free: 10.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.017, allocations: 8.031 kB / 1.291 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/1.031, allocations: 2.44 MB / 1.294 GB, free: 8.246 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/1.037, allocations: 2.25 MB / 1.296 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/1.037, allocations: 279.8 kB / 1.296 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/1.038, allocations: 371.8 kB / 1.297 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/1.057, allocations: 7.357 MB / 1.304 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/1.058, allocations: 4 kB / 1.304 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/1.059, allocations: 152 kB / 1.304 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005555/1.06, allocations: 338.2 kB / 1.304 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/1.077, allocations: 7.177 MB / 1.311 GB, free: 6.152 MB / 1.029 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.03902/1.116, allocations: 28.05 MB / 1.339 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.126, allocations: 4.187 MB / 1.343 GB, free: 3.312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006185/1.132, allocations: 2.351 MB / 1.345 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/1.133, allocations: 131 kB / 1.345 GB, free: 0.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.133, allocations: 60.56 kB / 1.345 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of pre-optimization done (n=198): time 1.332e-05/1.133, allocations: 0 / 1.345 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of matching and sorting (n=257): time 0.1059/1.239, allocations: 30.53 MB / 1.375 GB, free: 2.156 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.239, allocations: 239.6 kB / 1.375 GB, free: 1.871 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.242, allocations: 1.443 MB / 1.377 GB, free: 428 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000465/1.242, allocations: 65.7 kB / 1.377 GB, free: 356 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.243, allocations: 1.604 MB / 1.378 GB, free: 14.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.245, allocations: 0.9102 MB / 1.379 GB, free: 13.81 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/1.246, allocations: 0.6278 MB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.246, allocations: 301.1 kB / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00626/1.253, allocations: 2.572 MB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/1.26, allocations: 3.454 MB / 1.386 GB, free: 6.453 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.273, allocations: 6.144 MB / 1.392 GB, free: 15.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/1.273, allocations: 8 kB / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.02919/1.302, allocations: 10.23 MB / 1.402 GB, free: 5.598 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/1.302, allocations: 17.97 kB / 1.402 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.689e-05/1.302, allocations: 28 kB / 1.402 GB, free: 5.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02057/1.323, allocations: 5.356 MB / 1.407 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/1.327, allocations: 0.9908 MB / 1.408 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04304/1.37, allocations: 23.58 MB / 1.431 GB, free: 7.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004774/1.375, allocations: 0.5654 MB / 1.432 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007092/1.376, allocations: 151.9 kB / 1.432 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008931/1.385, allocations: 3.921 MB / 1.436 GB, free: 2.711 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007029/1.392, allocations: 3.415 MB / 1.439 GB, free: 14.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01303/1.405, allocations: 6.082 MB / 1.445 GB, free: 8.422 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.623e-05/1.405, allocations: 8 kB / 1.445 GB, free: 8.414 MB / 1.17 GB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.02467/1.43, allocations: 8.59 MB / 1.453 GB, free: 15.76 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/1.43, allocations: 20.55 kB / 1.453 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/1.43, allocations: 28 kB / 1.453 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/1.443, allocations: 3.306 MB / 1.457 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/1.448, allocations: 1.135 MB / 1.458 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/1.471, allocations: 12.77 MB / 1.47 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/1.476, allocations: 0.5538 MB / 1.471 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007348/1.477, allocations: 155.9 kB / 1.471 GB, free: 13.63 MB / 1.201 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.001528/1.478, allocations: 363.9 kB / 1.471 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.48, allocations: 198.8 kB / 1.471 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02942/1.509, allocations: 9.787 MB / 1.481 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-05/1.509, allocations: 11.95 kB / 1.481 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/1.509, allocations: 11.92 kB / 1.481 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.511, allocations: 0.6909 MB / 1.482 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009086/1.512, allocations: 40 kB / 1.482 GB, free: 2.469 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/1.516, allocations: 0.5031 MB / 1.482 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008777/1.517, allocations: 269.5 kB / 1.483 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02401/1.541, allocations: 8.793 MB / 1.491 GB, free: 8.879 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01817/1.559, allocations: 8.281 MB / 1.499 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005595/1.565, allocations: 2.423 MB / 1.502 GB, free: 14.14 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002078/1.567, allocations: 1.024 MB / 1.503 GB, free: 13.12 MB / 1.232 GB Notification: Performance of Backend: time 9.42e-07/1.567, allocations: 0 / 1.503 GB, free: 13.12 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02771/1.595, allocations: 9.672 MB / 1.512 GB, free: 3.402 MB / 1.232 GB Notification: Performance of SimCode: time 0.01343/1.608, allocations: 7.223 MB / 1.519 GB, free: 12.12 MB / 1.248 GB Notification: Performance of Templates: time 0.7692/2.377, allocations: 88.77 MB / 1.606 GB, free: 296.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches