Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 188.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8042, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04653/0.8508, allocations: 36.81 MB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.8705, allocations: 10.3 MB / 1.32 GB, free: 4.945 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.8746, allocations: 186.6 kB / 1.321 GB, free: 4.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.8862, allocations: 3.992 MB / 1.324 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00762/0.8939, allocations: 2.142 MB / 1.327 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.9007, allocations: 2.036 MB / 1.329 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01257/0.9132, allocations: 7.972 MB / 1.336 GB, free: 4.574 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.9253, allocations: 4.904 MB / 1.341 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00729/0.9326, allocations: 3.459 MB / 1.344 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008074/0.9406, allocations: 3.937 MB / 1.348 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002611/0.9432, allocations: 0.6758 MB / 1.349 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.9482, allocations: 1.467 MB / 1.35 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0051/0.9533, allocations: 2.689 MB / 1.353 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007486/0.9608, allocations: 3.101 MB / 1.356 GB, free: 188 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.9774, allocations: 10.41 MB / 1.366 GB, free: 5.738 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9774, allocations: 0 / 1.366 GB, free: 5.738 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9774, allocations: 0 / 1.366 GB, free: 5.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003705/0.9778, allocations: 4 kB / 1.366 GB, free: 5.734 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01599/0.9938, allocations: 5.459 MB / 1.372 GB, free: 220 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9938, allocations: 12.03 kB / 1.372 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006278/1, allocations: 0.985 MB / 1.373 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007774/1.008, allocations: 3.14 MB / 1.376 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/1.008, allocations: 357.9 kB / 1.376 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/1.01, allocations: 468.3 kB / 1.376 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/1.028, allocations: 7.91 MB / 1.384 GB, free: 2.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/1.028, allocations: 19.86 kB / 1.384 GB, free: 2.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006879/1.028, allocations: 211.9 kB / 1.384 GB, free: 2.703 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000532/1.029, allocations: 369.1 kB / 1.385 GB, free: 2.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.041, allocations: 5.933 MB / 1.39 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/1.087, allocations: 35.71 MB / 1.425 GB, free: 5.441 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/1.091, allocations: 1.994 MB / 1.427 GB, free: 3.43 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.093, allocations: 1.333 MB / 1.429 GB, free: 2.098 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.093, allocations: 17.31 kB / 1.429 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/1.093, allocations: 55.81 kB / 1.429 GB, free: 2.016 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.557e-06/1.093, allocations: 4 kB / 1.429 GB, free: 2.012 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.0148/1.108, allocations: 6.667 MB / 1.435 GB, free: 11.3 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/1.108, allocations: 72.72 kB / 1.435 GB, free: 11.22 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/1.111, allocations: 1.86 MB / 1.437 GB, free: 9.332 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002494/1.111, allocations: 53.7 kB / 1.437 GB, free: 9.273 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.113, allocations: 2.184 MB / 1.439 GB, free: 7.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007258/1.114, allocations: 0.5848 MB / 1.44 GB, free: 6.48 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/1.114, allocations: 408 kB / 1.44 GB, free: 6.074 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.114, allocations: 305.1 kB / 1.441 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.116, allocations: 1.055 MB / 1.442 GB, free: 4.715 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/1.119, allocations: 1.76 MB / 1.443 GB, free: 2.633 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/1.123, allocations: 3.056 MB / 1.446 GB, free: 15.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.123, allocations: 4 kB / 1.446 GB, free: 15.26 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007325/1.13, allocations: 3.903 MB / 1.45 GB, free: 11.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.13, allocations: 20.06 kB / 1.45 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.13, allocations: 20 kB / 1.45 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/1.133, allocations: 0.9272 MB / 1.451 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.135, allocations: 435.2 kB / 1.451 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/1.159, allocations: 21.55 MB / 1.472 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.161, allocations: 119.9 kB / 1.473 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.161, allocations: 95.98 kB / 1.473 GB, free: 2.738 MB / 1.17 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00296/1.164, allocations: 1.652 MB / 1.474 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/1.164, allocations: 274.3 kB / 1.475 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/1.17, allocations: 3.232 MB / 1.478 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.17, allocations: 16 kB / 1.478 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.17, allocations: 15.94 kB / 1.478 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.17, allocations: 7.969 kB / 1.478 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.184, allocations: 7.501 MB / 1.485 GB, free: 5.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.184, allocations: 4 kB / 1.485 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/1.185, allocations: 219.6 kB / 1.485 GB, free: 5.613 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.187, allocations: 0.8887 MB / 1.486 GB, free: 4.688 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.187, allocations: 35.98 kB / 1.486 GB, free: 4.652 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/1.211, allocations: 21.51 MB / 1.507 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.211, allocations: 7.938 kB / 1.507 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/1.218, allocations: 3.357 MB / 1.51 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.219, allocations: 478.1 kB / 1.511 GB, free: 9.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.219, allocations: 36 kB / 1.511 GB, free: 9.781 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.221, allocations: 95.81 kB / 1.511 GB, free: 9.688 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/1.221, allocations: 141 kB / 1.511 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.221, allocations: 52 kB / 1.511 GB, free: 9.496 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001968/1.223, allocations: 1.225 MB / 1.512 GB, free: 8.258 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 1.512 GB, free: 8.258 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002726/1.226, allocations: 0.9062 MB / 1.513 GB, free: 7.352 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/1.226, allocations: 163 kB / 1.513 GB, free: 7.184 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007132/1.233, allocations: 4.295 MB / 1.518 GB, free: 2.734 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.233, allocations: 4 kB / 1.518 GB, free: 2.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/1.238, allocations: 2.898 MB / 1.52 GB, free: 15.68 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.241, allocations: 0.8191 MB / 1.521 GB, free: 14.87 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.254, allocations: 7.847 MB / 1.529 GB, free: 6.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00371/1.258, allocations: 3.205 MB / 1.532 GB, free: 3.691 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001713/1.26, allocations: 0.5293 MB / 1.533 GB, free: 3.156 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/1.26, allocations: 139.4 kB / 1.533 GB, free: 3.02 MB / 1.232 GB Notification: Performance of SimCode: time 8.62e-07/1.26, allocations: 0 / 1.533 GB, free: 3.02 MB / 1.232 GB Notification: Performance of Templates: time 0.08361/1.344, allocations: 43.52 MB / 1.575 GB, free: 8.117 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.568917777389288]