Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.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.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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 115.3 kB / 16.42 MB, free: 6.5 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.001235/0.001235, allocations: 183.9 kB / 17.34 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.21 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.585/2.585, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 63.84 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY): time 0.0242/1.099, allocations: 19.54 MB / 1.186 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01285/1.112, allocations: 7.21 MB / 1.194 GB, free: 8.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/1.114, allocations: 59.88 kB / 1.194 GB, free: 8.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/1.119, allocations: 1.879 MB / 1.195 GB, free: 7.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004163/1.123, allocations: 1.548 MB / 1.197 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/1.127, allocations: 1.304 MB / 1.198 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00683/1.134, allocations: 5.862 MB / 1.204 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009892/1.143, allocations: 8.671 MB / 1.212 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/1.148, allocations: 2.606 MB / 1.215 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/1.153, allocations: 3.229 MB / 1.218 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/1.154, allocations: 0.5703 MB / 1.219 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/1.157, allocations: 1.326 MB / 1.22 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0025/1.159, allocations: 2.449 MB / 1.222 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003155/1.163, allocations: 2.374 MB / 1.225 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009504/1.172, allocations: 8.567 MB / 1.233 GB, free: 348 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.172, allocations: 0 / 1.233 GB, free: 348 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.474e-06/1.172, allocations: 4 kB / 1.233 GB, free: 344 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002897/1.173, allocations: 0 / 1.233 GB, free: 344 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01045/1.183, allocations: 4.151 MB / 1.237 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.183, allocations: 12.92 kB / 1.237 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/1.196, allocations: 2.46 MB / 1.239 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/1.201, allocations: 2.324 MB / 1.242 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.201, allocations: 292.2 kB / 1.242 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008701/1.202, allocations: 387.9 kB / 1.242 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/1.216, allocations: 7.67 MB / 1.25 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.072e-05/1.216, allocations: 3.938 kB / 1.25 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004489/1.216, allocations: 164 kB / 1.25 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/1.217, allocations: 346.7 kB / 1.25 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/1.232, allocations: 7.295 MB / 1.258 GB, free: 7.004 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.03816/1.271, allocations: 28.38 MB / 1.285 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007218/1.278, allocations: 3.67 MB / 1.289 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/1.283, allocations: 2.003 MB / 1.291 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/1.283, allocations: 126.4 kB / 1.291 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.283, allocations: 55.81 kB / 1.291 GB, free: 2.195 MB / 1.014 GB Notification: Performance of pre-optimization done (n=176): time 4.338e-06/1.283, allocations: 0 / 1.291 GB, free: 2.195 MB / 1.014 GB Notification: Performance of matching and sorting (n=221): time 0.07763/1.361, allocations: 25.19 MB / 1.316 GB, free: 8.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.361, allocations: 243.6 kB / 1.316 GB, free: 8.641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.363, allocations: 1.606 MB / 1.317 GB, free: 7.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/1.364, allocations: 61.7 kB / 1.317 GB, free: 6.953 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.365, allocations: 1.79 MB / 1.319 GB, free: 5.145 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008431/1.366, allocations: 0.798 MB / 1.32 GB, free: 4.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.367, allocations: 0.6434 MB / 1.321 GB, free: 3.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/1.367, allocations: 305.1 kB / 1.321 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/1.372, allocations: 2.494 MB / 1.323 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006565/1.379, allocations: 3.585 MB / 1.327 GB, free: 12.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.39, allocations: 6.198 MB / 1.333 GB, free: 6.113 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-05/1.391, allocations: 12 kB / 1.333 GB, free: 6.102 MB / 1.061 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.0261/1.417, allocations: 9.995 MB / 1.343 GB, free: 12.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.417, allocations: 20 kB / 1.343 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-05/1.417, allocations: 36 kB / 1.343 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/1.436, allocations: 5.16 MB / 1.348 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/1.44, allocations: 1.037 MB / 1.349 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03513/1.475, allocations: 21.12 MB / 1.369 GB, free: 444 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.48, allocations: 0.6043 MB / 1.37 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004855/1.481, allocations: 167.9 kB / 1.37 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00835/1.489, allocations: 3.901 MB / 1.374 GB, free: 11.75 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006977/1.496, allocations: 3.55 MB / 1.377 GB, free: 7.703 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01191/1.508, allocations: 6.132 MB / 1.383 GB, free: 1.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.953e-05/1.508, allocations: 8 kB / 1.383 GB, free: 1.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=400) (initialization_lambda0): time 0.0229/1.531, allocations: 8.458 MB / 1.392 GB, free: 8.594 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/1.531, allocations: 23.94 kB / 1.392 GB, free: 8.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.825e-05/1.531, allocations: 36 kB / 1.392 GB, free: 8.535 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/1.543, allocations: 3.216 MB / 1.395 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/1.549, allocations: 1.158 MB / 1.396 GB, free: 4.152 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.569, allocations: 11.46 MB / 1.407 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/1.574, allocations: 0.5654 MB / 1.408 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006682/1.575, allocations: 163.9 kB / 1.408 GB, free: 7.816 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (330): * Single equations (assignments): 328 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001198/1.576, allocations: 387.1 kB / 1.408 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.577, allocations: 199.1 kB / 1.408 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/1.601, allocations: 8.71 MB / 1.417 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/1.601, allocations: 11.91 kB / 1.417 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.601, allocations: 3.984 kB / 1.417 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.603, allocations: 0.6596 MB / 1.418 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008042/1.604, allocations: 44 kB / 1.418 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/1.607, allocations: 0.4913 MB / 1.418 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007657/1.608, allocations: 233.5 kB / 1.418 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02162/1.63, allocations: 8.226 MB / 1.426 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01626/1.646, allocations: 7.781 MB / 1.434 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004897/1.651, allocations: 2.275 MB / 1.436 GB, free: 10.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002198/1.653, allocations: 1.089 MB / 1.437 GB, free: 9.598 MB / 1.17 GB Notification: Performance of Backend: time 5.01e-07/1.653, allocations: 0 / 1.437 GB, free: 9.598 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02548/1.679, allocations: 9.313 MB / 1.446 GB, free: 260 kB / 1.17 GB Notification: Performance of SimCode: time 0.01453/1.693, allocations: 7.155 MB / 1.453 GB, free: 9.035 MB / 1.186 GB Notification: Performance of Templates: time 0.1371/1.83, allocations: 84.75 MB / 1.536 GB, free: 4.375 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches