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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001701/0.001702, allocations: 102.8 kB / 16.35 MB, free: 5.824 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.001754/0.001754, allocations: 193.7 kB / 17.29 MB, free: 5.48 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 74.7 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02446/0.3439, allocations: 22.61 MB / 1.049 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3543, allocations: 6.236 MB / 1.055 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.3564, allocations: 91.56 kB / 1.055 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.3604, allocations: 1.546 MB / 1.056 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.3642, allocations: 1.626 MB / 1.058 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.3677, allocations: 1.344 MB / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006429/0.3741, allocations: 5.935 MB / 1.065 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006786/0.3809, allocations: 6.041 MB / 1.071 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.3847, allocations: 2.415 MB / 1.073 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5863/0.971, allocations: 2.86 MB / 1.076 GB, free: 25.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.9733, allocations: 458.5 kB / 1.077 GB, free: 25.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.9776, allocations: 1.095 MB / 1.078 GB, free: 25.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004409/0.982, allocations: 2.038 MB / 1.08 GB, free: 25.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006235/0.9883, allocations: 2.165 MB / 1.082 GB, free: 25.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.003, allocations: 7.299 MB / 1.089 GB, free: 24.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.003, allocations: 0 / 1.089 GB, free: 24.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.525e-06/1.003, allocations: 2.281 kB / 1.089 GB, free: 24.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003754/1.004, allocations: 0 / 1.089 GB, free: 24.35 MB / 0.8419 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.01747/1.021, allocations: 3.819 MB / 1.093 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.021, allocations: 9.062 kB / 1.093 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/1.031, allocations: 1.214 MB / 1.094 GB, free: 22.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008732/1.039, allocations: 2.332 MB / 1.096 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/1.04, allocations: 240.4 kB / 1.096 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/1.042, allocations: 328.2 kB / 1.097 GB, free: 22.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/1.065, allocations: 6.211 MB / 1.103 GB, free: 20.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/1.065, allocations: 11.19 kB / 1.103 GB, free: 20.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005281/1.066, allocations: 140 kB / 1.103 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007037/1.066, allocations: 412.2 kB / 1.103 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.079, allocations: 4.66 MB / 1.108 GB, free: 18.64 MB / 0.8419 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.03647/1.115, allocations: 28.95 MB / 1.136 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/1.118, allocations: 1.413 MB / 1.138 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/1.12, allocations: 1.483 MB / 1.139 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/1.12, allocations: 11.5 kB / 1.139 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.12, allocations: 51.67 kB / 1.139 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 2.925e-06/1.12, allocations: 0 / 1.139 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=179): time 0.127/1.247, allocations: 37.22 MB / 1.175 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.247, allocations: 69.41 kB / 1.175 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.249, allocations: 1.429 MB / 1.177 GB, free: 364 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/1.25, allocations: 57.7 kB / 1.177 GB, free: 300 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.251, allocations: 1.542 MB / 1.178 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007073/1.252, allocations: 0.6098 MB / 1.179 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/1.252, allocations: 383.3 kB / 1.179 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.253, allocations: 305.1 kB / 1.18 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/1.255, allocations: 1.788 MB / 1.181 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/1.258, allocations: 2.352 MB / 1.184 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.263, allocations: 4.387 MB / 1.188 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.263, allocations: 12 kB / 1.188 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01689/1.28, allocations: 8.564 MB / 1.196 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.28, allocations: 12 kB / 1.196 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.28, allocations: 20.88 kB / 1.196 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01394/1.294, allocations: 4.631 MB / 1.201 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.295, allocations: 306.6 kB / 1.201 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04424/1.34, allocations: 32.59 MB / 1.233 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.342, allocations: 151.8 kB / 1.233 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.342, allocations: 80 kB / 1.233 GB, free: 5.602 MB / 0.9356 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.002595/1.345, allocations: 1.34 MB / 1.235 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/1.346, allocations: 205.5 kB / 1.235 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/1.362, allocations: 8.434 MB / 1.243 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.362, allocations: 20 kB / 1.243 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.018e-05/1.362, allocations: 24.75 kB / 1.243 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/1.362, allocations: 15.95 kB / 1.243 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.387, allocations: 12.85 MB / 1.256 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.387, allocations: 12.16 kB / 1.256 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/1.388, allocations: 162.1 kB / 1.256 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/1.401, allocations: 4.493 MB / 1.26 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003438/1.402, allocations: 36 kB / 1.26 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04375/1.445, allocations: 32.19 MB / 1.292 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.445, allocations: 14.75 kB / 1.292 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.461, allocations: 8.236 MB / 1.3 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.463, allocations: 0.6156 MB / 1.3 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.464, allocations: 43.92 kB / 1.3 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.465, allocations: 139.8 kB / 1.3 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008525/1.466, allocations: 175.3 kB / 1.301 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.466, allocations: 52 kB / 1.301 GB, free: 15.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001368/1.468, allocations: 0.9548 MB / 1.302 GB, free: 14.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 3.281 kB / 1.302 GB, free: 14.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003967/1.472, allocations: 1.117 MB / 1.303 GB, free: 13.8 MB / 1.014 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.0003501/1.472, allocations: 148.9 kB / 1.303 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.484, allocations: 6.526 MB / 1.309 GB, free: 7.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.484, allocations: 4 kB / 1.309 GB, free: 7.125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.009/1.493, allocations: 4.366 MB / 1.313 GB, free: 2.719 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.496, allocations: 0.5201 MB / 1.314 GB, free: 2.211 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.508, allocations: 6.796 MB / 1.321 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.511, allocations: 2.723 MB / 1.323 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001166/1.513, allocations: 392.5 kB / 1.324 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/1.513, allocations: 103.4 kB / 1.324 GB, free: 8.098 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.513, allocations: 3.281 kB / 1.324 GB, free: 8.098 MB / 1.029 GB Notification: Performance of Templates: time 0.09439/1.607, allocations: 60.49 MB / 1.383 GB, free: 12 MB / 1.092 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 -s gbode -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/jenkins1/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