Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 217.3 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.844/2.844, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 66.64 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4341, allocations: 169.9 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0415/0.4756, allocations: 31.52 MB / 1.315 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.4949, allocations: 10.29 MB / 1.325 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003899/0.4988, allocations: 194.5 kB / 1.325 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.5093, allocations: 3.737 MB / 1.328 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.5163, allocations: 1.952 MB / 1.33 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006928/0.5232, allocations: 2.142 MB / 1.332 GB, free: 9.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.5341, allocations: 7.323 MB / 1.34 GB, free: 2.566 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008899/0.543, allocations: 5.092 MB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.5495, allocations: 3.299 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007146/0.5567, allocations: 3.449 MB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.5587, allocations: 0.6445 MB / 1.352 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.5633, allocations: 1.658 MB / 1.353 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.5673, allocations: 2.607 MB / 1.356 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005611/0.5729, allocations: 2.339 MB / 1.358 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.588, allocations: 10.18 MB / 1.368 GB, free: 5.102 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.588, allocations: 3.938 kB / 1.368 GB, free: 5.098 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.587e-06/0.588, allocations: 0 / 1.368 GB, free: 5.098 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003646/0.5884, allocations: 7.938 kB / 1.368 GB, free: 5.09 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01612/0.6045, allocations: 5.041 MB / 1.373 GB, free: 15.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6045, allocations: 12.03 kB / 1.373 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/0.611, allocations: 0.9773 MB / 1.374 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009058/0.6201, allocations: 3.003 MB / 1.377 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/0.6205, allocations: 349.7 kB / 1.377 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/0.6228, allocations: 468.2 kB / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/0.6431, allocations: 7.968 MB / 1.386 GB, free: 2.734 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002122/0.6433, allocations: 35.75 kB / 1.386 GB, free: 2.699 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.6443, allocations: 200 kB / 1.386 GB, free: 2.504 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004058/0.6447, allocations: 309 kB / 1.386 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.6589, allocations: 5.702 MB / 1.392 GB, free: 12.48 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/0.6977, allocations: 21.92 MB / 1.413 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.7008, allocations: 1.546 MB / 1.415 GB, free: 4.371 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.7028, allocations: 1.128 MB / 1.416 GB, free: 3.242 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.7029, allocations: 21.3 kB / 1.416 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.7029, allocations: 43.88 kB / 1.416 GB, free: 3.168 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 3.938e-06/0.7029, allocations: 0 / 1.416 GB, free: 3.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01583/0.7188, allocations: 6.187 MB / 1.422 GB, free: 12.94 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.7188, allocations: 76.66 kB / 1.422 GB, free: 12.85 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.7218, allocations: 1.407 MB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.722, allocations: 45.7 kB / 1.423 GB, free: 11.39 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/0.7242, allocations: 2.068 MB / 1.425 GB, free: 9.305 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.725, allocations: 0.4996 MB / 1.426 GB, free: 8.801 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008023/0.7258, allocations: 351.4 kB / 1.426 GB, free: 8.449 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.726, allocations: 301.1 kB / 1.426 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.7278, allocations: 0.9096 MB / 1.427 GB, free: 7.242 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.7303, allocations: 1.593 MB / 1.429 GB, free: 5.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.7346, allocations: 2.733 MB / 1.432 GB, free: 2.293 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.7346, allocations: 8 kB / 1.432 GB, free: 2.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007243/0.7419, allocations: 3.503 MB / 1.435 GB, free: 14.73 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.7419, allocations: 18.5 kB / 1.435 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/0.742, allocations: 24.88 kB / 1.435 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.7448, allocations: 0.8999 MB / 1.436 GB, free: 13.76 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.7462, allocations: 359.3 kB / 1.436 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.7719, allocations: 21.46 MB / 1.457 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.7738, allocations: 99.92 kB / 1.457 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.7739, allocations: 99.92 kB / 1.457 GB, free: 6.523 MB / 1.154 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003309/0.7773, allocations: 1.602 MB / 1.459 GB, free: 4.91 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/0.7778, allocations: 206.7 kB / 1.459 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005939/0.7838, allocations: 2.955 MB / 1.462 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.7838, allocations: 15.94 kB / 1.462 GB, free: 1.684 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.7838, allocations: 12 kB / 1.462 GB, free: 1.672 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.7838, allocations: 7.969 kB / 1.462 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.7969, allocations: 5.999 MB / 1.468 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.7969, allocations: 4.562 kB / 1.468 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.7977, allocations: 183.7 kB / 1.468 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/0.8003, allocations: 0.8181 MB / 1.469 GB, free: 10.49 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.8004, allocations: 32 kB / 1.469 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/0.8245, allocations: 20.32 MB / 1.489 GB, free: 4.906 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/0.8245, allocations: 12.12 kB / 1.489 GB, free: 4.895 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/0.8308, allocations: 3.002 MB / 1.492 GB, free: 1.785 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.8322, allocations: 378.6 kB / 1.492 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.8324, allocations: 31.94 kB / 1.492 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.8333, allocations: 71.92 kB / 1.492 GB, free: 1.312 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/0.8337, allocations: 128.6 kB / 1.492 GB, free: 1.184 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.8338, allocations: 40 kB / 1.492 GB, free: 1.145 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001434/0.8352, allocations: 0.8903 MB / 1.493 GB, free: 268 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8352, allocations: 3.938 kB / 1.493 GB, free: 264 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.003391/0.8386, allocations: 0.789 MB / 1.494 GB, free: 15.46 MB / 1.201 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003155/0.8389, allocations: 139.1 kB / 1.494 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006676/0.8456, allocations: 3.921 MB / 1.498 GB, free: 11.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.8456, allocations: 0 / 1.498 GB, free: 11.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.85, allocations: 2.671 MB / 1.501 GB, free: 8.422 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.8533, allocations: 0.7095 MB / 1.501 GB, free: 7.742 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.8696, allocations: 7.987 MB / 1.509 GB, free: 15.65 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/0.8737, allocations: 2.631 MB / 1.512 GB, free: 12.99 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.8742, allocations: 123.4 kB / 1.512 GB, free: 12.87 MB / 1.217 GB Notification: Performance of SimCode: time 1.333e-06/0.8742, allocations: 3.938 kB / 1.512 GB, free: 12.87 MB / 1.217 GB Notification: Performance of Templates: time 1.094/1.968, allocations: 323 MB / 1.827 GB, free: 88.39 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 24.71302874526009]