Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01232/0.01232, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.002579/0.002579, allocations: 195 kB / 16.67 MB, free: 5.973 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.564/2.564, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.173, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0177/1.191, allocations: 14.06 MB / 1.18 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01573/1.207, allocations: 9.388 MB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/1.209, allocations: 55.69 kB / 1.19 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/1.214, allocations: 1.669 MB / 1.191 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00567/1.219, allocations: 1.536 MB / 1.193 GB, free: 9.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/1.222, allocations: 0.7614 MB / 1.193 GB, free: 8.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004161/1.226, allocations: 2.513 MB / 1.196 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/1.228, allocations: 1.419 MB / 1.197 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/1.23, allocations: 1.043 MB / 1.198 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/1.231, allocations: 1.14 MB / 1.199 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/1.232, allocations: 164 kB / 1.2 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/1.233, allocations: 0.7955 MB / 1.2 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006496/1.234, allocations: 0.6193 MB / 1.201 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/1.235, allocations: 0.9367 MB / 1.202 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003704/1.239, allocations: 2.759 MB / 1.205 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.239, allocations: 0 / 1.205 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.717e-06/1.239, allocations: 0 / 1.205 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.751e-05/1.239, allocations: 3.938 kB / 1.205 GB, free: 12.81 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004146/1.243, allocations: 2.199 MB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.243, allocations: 12.92 kB / 1.207 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.255, allocations: 2.094 MB / 1.209 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/1.258, allocations: 1.303 MB / 1.21 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/1.258, allocations: 90.73 kB / 1.21 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.258, allocations: 116.1 kB / 1.21 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/1.264, allocations: 2.683 MB / 1.213 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/1.264, allocations: 7.938 kB / 1.213 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.264, allocations: 55.98 kB / 1.213 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000651/1.265, allocations: 178.1 kB / 1.213 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007669/1.273, allocations: 2.795 MB / 1.216 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/1.288, allocations: 10.48 MB / 1.226 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/1.295, allocations: 2.52 MB / 1.229 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/1.298, allocations: 1.284 MB / 1.23 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/1.299, allocations: 12.98 kB / 1.23 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.299, allocations: 47.55 kB / 1.23 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=89): time 3.606e-06/1.299, allocations: 4 kB / 1.23 GB, free: 2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.04778/1.346, allocations: 13.38 MB / 1.243 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.347, allocations: 68.66 kB / 1.243 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.348, allocations: 1.121 MB / 1.244 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/1.349, allocations: 45.7 kB / 1.244 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/1.349, allocations: 0.7287 MB / 1.245 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/1.35, allocations: 475.9 kB / 1.245 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005657/1.35, allocations: 263.5 kB / 1.246 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.35, allocations: 365.9 kB / 1.246 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/1.354, allocations: 1.343 MB / 1.247 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/1.358, allocations: 1.596 MB / 1.249 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/1.365, allocations: 2.995 MB / 1.252 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.365, allocations: 0 / 1.252 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01207/1.377, allocations: 4.459 MB / 1.256 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.377, allocations: 11.94 kB / 1.256 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.377, allocations: 4 kB / 1.256 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/1.383, allocations: 1.432 MB / 1.257 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.385, allocations: 435.2 kB / 1.258 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/1.415, allocations: 26.7 MB / 1.284 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/1.417, allocations: 299.7 kB / 1.284 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.418, allocations: 71.91 kB / 1.284 GB, free: 7.859 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009507/1.419, allocations: 438.6 kB / 1.285 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/1.419, allocations: 170.9 kB / 1.285 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.431, allocations: 4.445 MB / 1.289 GB, free: 2.754 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.431, allocations: 12 kB / 1.289 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/1.431, allocations: 19.94 kB / 1.289 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/1.431, allocations: 11.97 kB / 1.289 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.447, allocations: 6.764 MB / 1.296 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.447, allocations: 8 kB / 1.296 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.449, allocations: 375.3 kB / 1.296 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004956/1.454, allocations: 1.311 MB / 1.297 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.454, allocations: 43.95 kB / 1.298 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/1.482, allocations: 25.51 MB / 1.322 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.482, allocations: 4.156 kB / 1.322 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.493, allocations: 4.207 MB / 1.327 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.494, allocations: 467.8 kB / 1.327 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/1.494, allocations: 28.19 kB / 1.327 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.497, allocations: 308 kB / 1.327 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004916/1.497, allocations: 132.7 kB / 1.327 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.497, allocations: 55.89 kB / 1.327 GB, free: 9.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001141/1.498, allocations: 0.7564 MB / 1.328 GB, free: 8.621 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.498, allocations: 0 / 1.328 GB, free: 8.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002243/1.501, allocations: 0.5703 MB / 1.329 GB, free: 8.051 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/1.501, allocations: 139.1 kB / 1.329 GB, free: 7.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.512, allocations: 5.138 MB / 1.334 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.512, allocations: 4 kB / 1.334 GB, free: 2.594 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007082/1.52, allocations: 3.503 MB / 1.337 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.522, allocations: 0.5503 MB / 1.338 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/1.531, allocations: 4.039 MB / 1.342 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/1.532, allocations: 1.481 MB / 1.343 GB, free: 8.789 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001556/1.534, allocations: 425.6 kB / 1.344 GB, free: 8.367 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/1.534, allocations: 115.4 kB / 1.344 GB, free: 8.258 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.534, allocations: 4 kB / 1.344 GB, free: 8.254 MB / 1.076 GB Notification: Performance of Templates: time 0.06912/1.603, allocations: 39.35 MB / 1.382 GB, free: 1.328 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches