Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002115/0.002115, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 482.4 MB / 0.7543 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.2 kB / 0.9233 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 162.2 MB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04912/0.4048, allocations: 40.8 MB / 1.122 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02634/0.4312, allocations: 14.96 MB / 1.136 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005485/0.4367, allocations: 175 kB / 1.136 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.4487, allocations: 4.174 MB / 1.14 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009951/0.4587, allocations: 2.586 MB / 1.143 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009035/0.4678, allocations: 2.88 MB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01713/0.4849, allocations: 11.44 MB / 1.157 GB, free: 324 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02382/0.5088, allocations: 14.86 MB / 1.171 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00872/0.5176, allocations: 4.891 MB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.5277, allocations: 5.632 MB / 1.182 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.003382/0.5311, allocations: 0.9492 MB / 1.183 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006905/0.538, allocations: 2.036 MB / 1.185 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.006385/0.5444, allocations: 3.703 MB / 1.188 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.009357/0.5538, allocations: 4.295 MB / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.5731, allocations: 14.29 MB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5731, allocations: 0 / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5731, allocations: 0 / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005439/0.5737, allocations: 0 / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02384/0.5975, allocations: 7.6 MB / 1.214 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5976, allocations: 11.97 kB / 1.214 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.6085, allocations: 1.518 MB / 1.215 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008509/0.617, allocations: 4.201 MB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/0.6175, allocations: 456.5 kB / 1.22 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.6194, allocations: 0.5978 MB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.6437, allocations: 10.69 MB / 1.231 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/0.6439, allocations: 27.72 kB / 1.231 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/0.6453, allocations: 275.8 kB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.6479, allocations: 0.7729 MB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.6668, allocations: 8.557 MB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6439/1.311, allocations: 46.86 MB / 1.286 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005529/1.316, allocations: 4.298 MB / 1.29 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0053/1.322, allocations: 3.71 MB / 1.294 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.322, allocations: 39.88 kB / 1.294 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.322, allocations: 73.11 kB / 1.294 GB, free: 113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 6.092e-06/1.322, allocations: 0 / 1.294 GB, free: 113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4314/1.753, allocations: 122.8 MB / 1.414 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.754, allocations: 107.9 kB / 1.414 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.757, allocations: 2.692 MB / 1.417 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/1.759, allocations: 117.7 kB / 1.417 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.76, allocations: 2.678 MB / 1.419 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002137/1.762, allocations: 1.957 MB / 1.421 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/1.764, allocations: 0.9209 MB / 1.422 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/1.764, allocations: 305.1 kB / 1.422 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.768, allocations: 4.079 MB / 1.426 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/1.774, allocations: 5.015 MB / 1.431 GB, free: 14.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/1.791, allocations: 9.855 MB / 1.441 GB, free: 4.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/1.791, allocations: 8 kB / 1.441 GB, free: 4.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04256/1.834, allocations: 16.99 MB / 1.458 GB, free: 2.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/1.834, allocations: 16 kB / 1.458 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/1.834, allocations: 20 kB / 1.458 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03231/1.866, allocations: 9.147 MB / 1.467 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/1.869, allocations: 0.5226 MB / 1.467 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.12/1.989, allocations: 77.02 MB / 1.542 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00538/1.994, allocations: 275.8 kB / 1.543 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.996, allocations: 192 kB / 1.543 GB, free: 10.12 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005878/2.001, allocations: 2.425 MB / 1.545 GB, free: 7.688 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/2.003, allocations: 474.4 kB / 1.546 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04249/2.045, allocations: 16.82 MB / 1.562 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-05/2.045, allocations: 56 kB / 1.562 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002039/2.046, allocations: 72 kB / 1.562 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001229/2.046, allocations: 27.89 kB / 1.562 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06214/2.108, allocations: 25.65 MB / 1.587 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-05/2.108, allocations: 16.12 kB / 1.587 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/2.11, allocations: 319.5 kB / 1.588 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03109/2.141, allocations: 8.339 MB / 1.596 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/2.142, allocations: 108 kB / 1.596 GB, free: 3.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1116/2.254, allocations: 73.89 MB / 1.668 GB, free: 7.988 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/2.254, allocations: 11.94 kB / 1.668 GB, free: 7.977 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04537/2.299, allocations: 21.57 MB / 1.689 GB, free: 2.051 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/2.303, allocations: 1.354 MB / 1.69 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001835/2.305, allocations: 112 kB / 1.69 GB, free: 0.5625 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/2.309, allocations: 286.9 kB / 1.691 GB, free: 292 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002333/2.312, allocations: 0.5221 MB / 1.691 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006856/2.312, allocations: 148 kB / 1.691 GB, free: 15.61 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002945/2.315, allocations: 1.776 MB / 1.693 GB, free: 13.84 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.21e-07/2.315, allocations: 0 / 1.693 GB, free: 13.84 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008326/2.324, allocations: 2.465 MB / 1.695 GB, free: 11.38 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/2.325, allocations: 240 kB / 1.696 GB, free: 11.14 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.05173/2.376, allocations: 18.67 MB / 1.714 GB, free: 8.289 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/2.376, allocations: 0 / 1.714 GB, free: 8.289 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.02805/2.405, allocations: 9.353 MB / 1.723 GB, free: 14.79 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/2.412, allocations: 1.374 MB / 1.724 GB, free: 13.45 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5484/2.96, allocations: 18.74 MB / 1.743 GB, free: 424 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008137/2.968, allocations: 4.895 MB / 1.748 GB, free: 423.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003391/2.972, allocations: 0.746 MB / 1.748 GB, free: 423 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/2.972, allocations: 196 kB / 1.748 GB, free: 423 MB / 1.311 GB Notification: Performance of SimCode: time 1.393e-06/2.972, allocations: 0 / 1.748 GB, free: 423 MB / 1.311 GB Notification: Performance of Templates: time 0.1897/3.162, allocations: 148.4 MB / 1.893 GB, free: 328.1 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches