Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 109.9 kB / 16.41 MB, free: 6.523 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.001417/0.001417, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.633/1.633, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 67.89 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8611, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY): time 0.02419/0.8854, allocations: 18.26 MB / 1.244 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.8984, allocations: 6.823 MB / 1.251 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.9007, allocations: 59.81 kB / 1.251 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005183/0.906, allocations: 1.586 MB / 1.253 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.911, allocations: 1.486 MB / 1.254 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.915, allocations: 1.271 MB / 1.255 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00662/0.9216, allocations: 5.624 MB / 1.261 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009794/0.9314, allocations: 7.5 MB / 1.268 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.9352, allocations: 2.478 MB / 1.27 GB, free: 196 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/0.9404, allocations: 3.081 MB / 1.273 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.942, allocations: 0.543 MB / 1.274 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.9456, allocations: 1.287 MB / 1.275 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003439/0.949, allocations: 2.32 MB / 1.278 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004383/0.9534, allocations: 2.284 MB / 1.28 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.9647, allocations: 8.13 MB / 1.288 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.9648, allocations: 0 / 1.288 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9648, allocations: 0 / 1.288 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002828/0.9651, allocations: 0 / 1.288 GB, free: 14.5 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01073/0.9758, allocations: 4.033 MB / 1.292 GB, free: 10.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9759, allocations: 12.03 kB / 1.292 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.9896, allocations: 2.429 MB / 1.294 GB, free: 7.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.995, allocations: 2.257 MB / 1.296 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.9953, allocations: 287.8 kB / 1.297 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.9967, allocations: 371.9 kB / 1.297 GB, free: 5.004 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/1.015, allocations: 7.382 MB / 1.304 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/1.015, allocations: 4 kB / 1.304 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/1.016, allocations: 156 kB / 1.304 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005843/1.017, allocations: 338.4 kB / 1.305 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/1.036, allocations: 7.193 MB / 1.312 GB, free: 5.801 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.04489/1.081, allocations: 28.14 MB / 1.339 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008194/1.089, allocations: 4.179 MB / 1.343 GB, free: 2.879 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005631/1.095, allocations: 2.343 MB / 1.345 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/1.095, allocations: 131 kB / 1.346 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/1.095, allocations: 60.48 kB / 1.346 GB, free: 308 kB / 1.061 GB Notification: Performance of pre-optimization done (n=198): time 5.651e-06/1.095, allocations: 7.938 kB / 1.346 GB, free: 300 kB / 1.061 GB Notification: Performance of matching and sorting (n=257): time 0.1054/1.2, allocations: 30.82 MB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.201, allocations: 239.6 kB / 1.376 GB, free: 1.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/1.203, allocations: 1.485 MB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005379/1.204, allocations: 77.64 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.205, allocations: 1.616 MB / 1.379 GB, free: 13.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.206, allocations: 0.914 MB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/1.208, allocations: 0.62 MB / 1.381 GB, free: 12.38 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.208, allocations: 317 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/1.214, allocations: 2.564 MB / 1.383 GB, free: 9.488 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006736/1.221, allocations: 3.454 MB / 1.387 GB, free: 5.648 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.234, allocations: 6.144 MB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/1.234, allocations: 8 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.02892/1.263, allocations: 10.24 MB / 1.403 GB, free: 4.781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.263, allocations: 20 kB / 1.403 GB, free: 4.762 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.458e-05/1.263, allocations: 27.94 kB / 1.403 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02042/1.283, allocations: 5.349 MB / 1.408 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/1.288, allocations: 0.9906 MB / 1.409 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04195/1.33, allocations: 23.56 MB / 1.432 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/1.335, allocations: 0.5655 MB / 1.433 GB, free: 6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/1.335, allocations: 151.9 kB / 1.433 GB, free: 5.852 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0085/1.344, allocations: 3.917 MB / 1.436 GB, free: 1.926 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006517/1.35, allocations: 3.423 MB / 1.44 GB, free: 14.12 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01229/1.363, allocations: 6.074 MB / 1.446 GB, free: 7.637 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.509e-05/1.363, allocations: 8 kB / 1.446 GB, free: 7.629 MB / 1.17 GB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.02348/1.386, allocations: 8.594 MB / 1.454 GB, free: 14.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/1.386, allocations: 16 kB / 1.454 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.321e-05/1.386, allocations: 28 kB / 1.454 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.399, allocations: 3.31 MB / 1.457 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/1.404, allocations: 1.139 MB / 1.459 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/1.426, allocations: 12.74 MB / 1.471 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.431, allocations: 0.5538 MB / 1.472 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006678/1.432, allocations: 151.9 kB / 1.472 GB, free: 12.88 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.001257/1.433, allocations: 371.8 kB / 1.472 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/1.434, allocations: 210.7 kB / 1.472 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02585/1.46, allocations: 9.749 MB / 1.482 GB, free: 2.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.393e-05/1.46, allocations: 15.95 kB / 1.482 GB, free: 2.484 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.46, allocations: 8 kB / 1.482 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.463, allocations: 0.7024 MB / 1.482 GB, free: 1.754 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008595/1.464, allocations: 40 kB / 1.483 GB, free: 1.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/1.467, allocations: 0.503 MB / 1.483 GB, free: 1.211 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.468, allocations: 265.5 kB / 1.483 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02269/1.491, allocations: 8.805 MB / 1.492 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01681/1.508, allocations: 8.285 MB / 1.5 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00498/1.513, allocations: 2.427 MB / 1.502 GB, free: 13.38 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001795/1.515, allocations: 1.045 MB / 1.503 GB, free: 12.33 MB / 1.232 GB Notification: Performance of Backend: time 6.52e-07/1.515, allocations: 0 / 1.503 GB, free: 12.33 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02508/1.54, allocations: 9.65 MB / 1.513 GB, free: 2.637 MB / 1.232 GB Notification: Performance of SimCode: time 0.01312/1.553, allocations: 7.297 MB / 1.52 GB, free: 11.29 MB / 1.248 GB Notification: Performance of Templates: time 0.8173/2.37, allocations: 89.07 MB / 1.607 GB, free: 295.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches