Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008431/0.008432, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.00202/0.00202, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8414, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02435/0.8658, allocations: 22.61 MB / 1.23 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.8769, allocations: 6.225 MB / 1.236 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.8792, allocations: 95.56 kB / 1.236 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.8832, allocations: 1.537 MB / 1.237 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.8873, allocations: 1.625 MB / 1.239 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.8906, allocations: 1.348 MB / 1.24 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006727/0.8973, allocations: 5.935 MB / 1.246 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006531/0.9039, allocations: 6.04 MB / 1.252 GB, free: 48 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.9073, allocations: 2.457 MB / 1.254 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.911, allocations: 2.862 MB / 1.257 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.9116, allocations: 456 kB / 1.258 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.9137, allocations: 1.104 MB / 1.259 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.9155, allocations: 2.023 MB / 1.261 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.9176, allocations: 2.17 MB / 1.263 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006783/0.9244, allocations: 7.294 MB / 1.27 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9244, allocations: 0 / 1.27 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9244, allocations: 0 / 1.27 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000128/0.9245, allocations: 4 kB / 1.27 GB, free: 13.64 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006947/0.9315, allocations: 3.82 MB / 1.274 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9315, allocations: 8.031 kB / 1.274 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.9375, allocations: 1.221 MB / 1.275 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004927/0.9424, allocations: 2.336 MB / 1.277 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.9426, allocations: 238.4 kB / 1.277 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/0.9432, allocations: 323.8 kB / 1.278 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.9543, allocations: 6.205 MB / 1.284 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.9545, allocations: 23.86 kB / 1.284 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004695/0.955, allocations: 139.9 kB / 1.284 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005329/0.9556, allocations: 402.3 kB / 1.284 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.9632, allocations: 4.666 MB / 1.289 GB, free: 9.883 MB / 1.014 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.03413/0.9973, allocations: 28.94 MB / 1.317 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.9995, allocations: 1.412 MB / 1.319 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.002, allocations: 1.487 MB / 1.32 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/1.002, allocations: 16.94 kB / 1.32 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/1.002, allocations: 51.5 kB / 1.32 GB, free: 7.238 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 5.22e-06/1.002, allocations: 0 / 1.32 GB, free: 7.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.1501/1.152, allocations: 37.24 MB / 1.356 GB, free: 1.918 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.152, allocations: 69.41 kB / 1.357 GB, free: 1.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.154, allocations: 1.435 MB / 1.358 GB, free: 408 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/1.154, allocations: 53.7 kB / 1.358 GB, free: 348 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009311/1.155, allocations: 1.535 MB / 1.359 GB, free: 14.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/1.156, allocations: 0.6084 MB / 1.36 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/1.156, allocations: 383.3 kB / 1.36 GB, free: 13.79 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/1.157, allocations: 301.1 kB / 1.361 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/1.159, allocations: 1.784 MB / 1.362 GB, free: 11.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.162, allocations: 2.354 MB / 1.365 GB, free: 9.094 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/1.167, allocations: 4.387 MB / 1.369 GB, free: 4.469 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.167, allocations: 8 kB / 1.369 GB, free: 4.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01788/1.185, allocations: 8.57 MB / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.185, allocations: 16.91 kB / 1.377 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/1.185, allocations: 16 kB / 1.377 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/1.2, allocations: 4.63 MB / 1.382 GB, free: 7.176 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.201, allocations: 303.4 kB / 1.382 GB, free: 6.879 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04588/1.247, allocations: 32.6 MB / 1.414 GB, free: 5.418 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.249, allocations: 147.8 kB / 1.414 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.25, allocations: 84 kB / 1.414 GB, free: 5.191 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002169/1.252, allocations: 1.335 MB / 1.416 GB, free: 3.848 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/1.252, allocations: 197.6 kB / 1.416 GB, free: 3.652 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.27, allocations: 8.433 MB / 1.424 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.27, allocations: 20 kB / 1.424 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.028e-05/1.27, allocations: 27.94 kB / 1.424 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/1.27, allocations: 7.969 kB / 1.424 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.295, allocations: 12.84 MB / 1.437 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.295, allocations: 4 kB / 1.437 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/1.296, allocations: 171.7 kB / 1.437 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01451/1.311, allocations: 4.478 MB / 1.441 GB, free: 9.434 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/1.311, allocations: 43.98 kB / 1.441 GB, free: 9.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04612/1.357, allocations: 32.21 MB / 1.473 GB, free: 8.324 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.357, allocations: 11.94 kB / 1.473 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.374, allocations: 8.237 MB / 1.481 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.376, allocations: 0.6156 MB / 1.481 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/1.377, allocations: 36 kB / 1.481 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.378, allocations: 135.8 kB / 1.481 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008408/1.379, allocations: 172.9 kB / 1.482 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.379, allocations: 48 kB / 1.482 GB, free: 14.93 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001313/1.381, allocations: 0.9588 MB / 1.483 GB, free: 13.98 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/1.381, allocations: 0 / 1.483 GB, free: 13.98 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003299/1.384, allocations: 1.121 MB / 1.484 GB, free: 12.86 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/1.384, allocations: 147.1 kB / 1.484 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.397, allocations: 6.544 MB / 1.49 GB, free: 6.082 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.397, allocations: 256 / 1.49 GB, free: 6.082 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.009321/1.406, allocations: 4.35 MB / 1.495 GB, free: 1.652 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.409, allocations: 0.5271 MB / 1.495 GB, free: 1.137 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.421, allocations: 6.799 MB / 1.502 GB, free: 10.23 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/1.424, allocations: 2.723 MB / 1.504 GB, free: 7.477 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001076/1.425, allocations: 396.5 kB / 1.505 GB, free: 7.086 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/1.425, allocations: 99.42 kB / 1.505 GB, free: 6.992 MB / 1.232 GB Notification: Performance of SimCode: time 1.022e-06/1.425, allocations: 0 / 1.505 GB, free: 6.992 MB / 1.232 GB Notification: Performance of Templates: time 0.7479/2.173, allocations: 62.9 MB / 1.566 GB, free: 322.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches