Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001614/0.001614, allocations: 113.9 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.002426/0.002426, allocations: 190.1 kB / 22.23 MB, free: 5.105 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.36 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03149/0.3728, allocations: 24.46 MB / 1.331 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3861, allocations: 6.656 MB / 1.338 GB, free: 2.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.3886, allocations: 135 kB / 1.338 GB, free: 2.438 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004697/0.3933, allocations: 1.566 MB / 1.339 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.3984, allocations: 1.937 MB / 1.341 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.4025, allocations: 1.507 MB / 1.343 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009334/0.4118, allocations: 6.905 MB / 1.349 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.4182, allocations: 3.501 MB / 1.353 GB, free: 2.895 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.4232, allocations: 2.909 MB / 1.356 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.4297, allocations: 3.739 MB / 1.359 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.4313, allocations: 0.5273 MB / 1.36 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.4347, allocations: 1.194 MB / 1.361 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003864/0.4386, allocations: 2.525 MB / 1.363 GB, free: 7.973 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.4441, allocations: 2.536 MB / 1.366 GB, free: 5.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.4576, allocations: 8.546 MB / 1.374 GB, free: 12.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4576, allocations: 0 / 1.374 GB, free: 12.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4576, allocations: 4 kB / 1.374 GB, free: 12.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002609/0.4579, allocations: 0 / 1.374 GB, free: 12.85 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01065/0.4685, allocations: 4.468 MB / 1.379 GB, free: 8.324 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4686, allocations: 12.03 kB / 1.379 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008421/0.477, allocations: 1.699 MB / 1.38 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006536/0.4835, allocations: 2.664 MB / 1.383 GB, free: 3.902 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4838, allocations: 279.7 kB / 1.383 GB, free: 3.629 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.485, allocations: 360.2 kB / 1.384 GB, free: 3.277 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.4993, allocations: 7.495 MB / 1.391 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.4994, allocations: 11.94 kB / 1.391 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.4998, allocations: 163.9 kB / 1.391 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006559/0.5005, allocations: 483.3 kB / 1.392 GB, free: 10.87 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.5124, allocations: 5.693 MB / 1.397 GB, free: 5.172 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/0.5562, allocations: 31.29 MB / 1.428 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.5596, allocations: 2.009 MB / 1.43 GB, free: 1.086 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.563, allocations: 2.108 MB / 1.432 GB, free: 14.97 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.5632, allocations: 17.31 kB / 1.432 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.5632, allocations: 47.88 kB / 1.432 GB, free: 14.9 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.116e-06/0.5632, allocations: 0 / 1.432 GB, free: 14.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.2842/0.8474, allocations: 76.72 MB / 1.507 GB, free: 2.055 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.8475, allocations: 81.39 kB / 1.507 GB, free: 1.961 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.85, allocations: 1.678 MB / 1.508 GB, free: 244 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004494/0.8505, allocations: 61.7 kB / 1.508 GB, free: 176 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.8519, allocations: 1.792 MB / 1.51 GB, free: 14.37 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.853, allocations: 0.9023 MB / 1.511 GB, free: 13.46 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.8541, allocations: 485.4 kB / 1.512 GB, free: 12.98 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8542, allocations: 305.1 kB / 1.512 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/0.8586, allocations: 2.734 MB / 1.514 GB, free: 9.938 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00485/0.8634, allocations: 3.332 MB / 1.518 GB, free: 6.359 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009489/0.8729, allocations: 6.393 MB / 1.524 GB, free: 15.73 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.8729, allocations: 4 kB / 1.524 GB, free: 15.72 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03385/0.9068, allocations: 14.41 MB / 1.538 GB, free: 1.262 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.9068, allocations: 12 kB / 1.538 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.9068, allocations: 16.88 kB / 1.538 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03059/0.9374, allocations: 9.248 MB / 1.547 GB, free: 7.961 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.9387, allocations: 299.5 kB / 1.547 GB, free: 7.668 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08816/1.027, allocations: 51.79 MB / 1.598 GB, free: 3.145 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/1.03, allocations: 223.7 kB / 1.598 GB, free: 2.926 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/1.031, allocations: 99.98 kB / 1.598 GB, free: 2.828 MB / 1.295 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00397/1.035, allocations: 1.582 MB / 1.6 GB, free: 1.234 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/1.035, allocations: 258.5 kB / 1.6 GB, free: 0.9805 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03594/1.071, allocations: 14.48 MB / 1.614 GB, free: 2.441 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.071, allocations: 24 kB / 1.614 GB, free: 2.418 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001343/1.072, allocations: 44 kB / 1.614 GB, free: 2.375 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.115e-05/1.072, allocations: 11.95 kB / 1.614 GB, free: 2.363 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6701/1.742, allocations: 20.21 MB / 1.634 GB, free: 282.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/1.742, allocations: 7.125 kB / 1.634 GB, free: 282.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/1.742, allocations: 159.6 kB / 1.634 GB, free: 282.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02704/1.769, allocations: 9.003 MB / 1.643 GB, free: 281.6 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004775/1.77, allocations: 55.23 kB / 1.643 GB, free: 281.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06291/1.833, allocations: 51.35 MB / 1.693 GB, free: 247.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.833, allocations: 11.94 kB / 1.693 GB, free: 247.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02604/1.859, allocations: 14.1 MB / 1.707 GB, free: 232.9 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.861, allocations: 0.7793 MB / 1.708 GB, free: 232.1 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004694/1.861, allocations: 51.98 kB / 1.708 GB, free: 232.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.863, allocations: 203.7 kB / 1.708 GB, free: 231.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.864, allocations: 253.3 kB / 1.708 GB, free: 231.6 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.865, allocations: 64 kB / 1.708 GB, free: 231.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001195/1.866, allocations: 1.129 MB / 1.709 GB, free: 230.4 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.866, allocations: 0 / 1.709 GB, free: 230.4 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004025/1.87, allocations: 1.617 MB / 1.711 GB, free: 228.8 MB / 1.311 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/1.87, allocations: 163.7 kB / 1.711 GB, free: 228.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01788/1.888, allocations: 10.2 MB / 1.721 GB, free: 218.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.888, allocations: 0 / 1.721 GB, free: 218.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/1.902, allocations: 7.014 MB / 1.728 GB, free: 211.3 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/1.905, allocations: 0.5597 MB / 1.728 GB, free: 210.8 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.917, allocations: 8.923 MB / 1.737 GB, free: 201.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/1.92, allocations: 3.231 MB / 1.74 GB, free: 198.6 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009082/1.921, allocations: 391.3 kB / 1.741 GB, free: 198.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.921, allocations: 95.44 kB / 1.741 GB, free: 198.1 MB / 1.311 GB Notification: Performance of SimCode: time 8.02e-07/1.921, allocations: 0 / 1.741 GB, free: 198.1 MB / 1.311 GB Notification: Performance of Templates: time 0.1082/2.029, allocations: 96.06 MB / 1.835 GB, free: 102.3 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 12.118735453113914]