Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001613/0.001613, allocations: 84.45 kB / 18.97 MB, free: 2.633 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.00176/0.00176, allocations: 156.5 kB / 22.21 MB, free: 5.301 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.398/1.398, allocations: 177.2 MB / 202.6 MB, free: 7.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.952/2.952, allocations: 394.1 MB / 0.6379 GB, free: 12.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [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.002173/0.002173, allocations: 63.89 kB / 1.008 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.376, allocations: 181.9 MB / 1.186 GB, free: 1.508 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01275/0.3888, allocations: 9.633 MB / 1.195 GB, free: 7.824 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006139/0.3949, allocations: 3.155 MB / 1.198 GB, free: 4.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.3954, allocations: 43.69 kB / 1.198 GB, free: 4.617 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.3972, allocations: 0.6102 MB / 1.199 GB, free: 4.004 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3989, allocations: 0.774 MB / 1.2 GB, free: 3.227 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.4005, allocations: 0.7514 MB / 1.201 GB, free: 2.477 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.404, allocations: 2.996 MB / 1.204 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.4061, allocations: 1.408 MB / 1.205 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.4081, allocations: 1.285 MB / 1.206 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.4106, allocations: 1.644 MB / 1.208 GB, free: 11.09 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.411, allocations: 236 kB / 1.208 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.412, allocations: 483.3 kB / 1.208 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.4132, allocations: 1.103 MB / 1.209 GB, free: 9.277 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4144, allocations: 0.9066 MB / 1.21 GB, free: 8.367 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.4183, allocations: 3.718 MB / 1.214 GB, free: 4.637 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4183, allocations: 4 kB / 1.214 GB, free: 4.633 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4183, allocations: 0 / 1.214 GB, free: 4.633 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.385e-05/0.4184, allocations: 0 / 1.214 GB, free: 4.633 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004174/0.4225, allocations: 2.119 MB / 1.216 GB, free: 2.473 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4226, allocations: 12.03 kB / 1.216 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009616/0.4322, allocations: 1.361 MB / 1.217 GB, free: 1.098 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.4349, allocations: 1.265 MB / 1.219 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.435, allocations: 115.4 kB / 1.219 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.4353, allocations: 144.3 kB / 1.219 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00576/0.4411, allocations: 3.52 MB / 1.222 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.4411, allocations: 0 / 1.222 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.4414, allocations: 63.97 kB / 1.222 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002704/0.4416, allocations: 203.1 kB / 1.223 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005231/0.4469, allocations: 3.127 MB / 1.226 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.4646, allocations: 9.822 MB / 1.235 GB, free: 14.51 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.4672, allocations: 1.611 MB / 1.237 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.4693, allocations: 1.331 MB / 1.238 GB, free: 11.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.4694, allocations: 17 kB / 1.238 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.4695, allocations: 39.56 kB / 1.238 GB, free: 11.49 MB / 1.186 GB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.4695, allocations: 0 / 1.238 GB, free: 11.49 MB / 1.186 GB Notification: Performance of matching and sorting (n=183): time 0.7567/1.226, allocations: 36.17 MB / 1.274 GB, free: 103.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.226, allocations: 72.16 kB / 1.274 GB, free: 103.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.228, allocations: 1.049 MB / 1.275 GB, free: 102.8 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003284/1.228, allocations: 56.3 kB / 1.275 GB, free: 102.8 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/1.229, allocations: 0.8056 MB / 1.275 GB, free: 102.2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006583/1.229, allocations: 0.6531 MB / 1.276 GB, free: 101.7 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/1.23, allocations: 360 kB / 1.276 GB, free: 101.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.352e-05/1.23, allocations: 303 kB / 1.277 GB, free: 101.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/1.233, allocations: 1.93 MB / 1.279 GB, free: 100.6 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/1.236, allocations: 2.285 MB / 1.281 GB, free: 99.57 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/1.242, allocations: 4.396 MB / 1.285 GB, free: 97.64 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.242, allocations: 4.531 kB / 1.285 GB, free: 97.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02137/1.263, allocations: 8.868 MB / 1.294 GB, free: 95.05 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.263, allocations: 12.44 kB / 1.294 GB, free: 95.05 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/1.263, allocations: 8.719 kB / 1.294 GB, free: 95.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0185/1.282, allocations: 4.967 MB / 1.299 GB, free: 94.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/1.283, allocations: 189.7 kB / 1.299 GB, free: 94.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05374/1.336, allocations: 37.8 MB / 1.336 GB, free: 73.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.338, allocations: 100.3 kB / 1.336 GB, free: 73.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.339, allocations: 70.92 kB / 1.336 GB, free: 73.12 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001297/1.34, allocations: 0.8092 MB / 1.337 GB, free: 72.6 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/1.34, allocations: 144 kB / 1.337 GB, free: 72.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.359, allocations: 8.744 MB / 1.345 GB, free: 67.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.359, allocations: 15.69 kB / 1.345 GB, free: 67.38 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.203e-05/1.359, allocations: 30.5 kB / 1.345 GB, free: 67.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.359, allocations: 7.969 kB / 1.345 GB, free: 67.37 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/1.381, allocations: 12.41 MB / 1.358 GB, free: 55.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.381, allocations: 4 kB / 1.358 GB, free: 55.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/1.382, allocations: 120.4 kB / 1.358 GB, free: 55.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/1.397, allocations: 4.816 MB / 1.362 GB, free: 50.71 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/1.397, allocations: 36.94 kB / 1.362 GB, free: 50.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04516/1.442, allocations: 35.77 MB / 1.397 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.442, allocations: 4 kB / 1.397 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.46, allocations: 8.449 MB / 1.406 GB, free: 5.98 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.461, allocations: 0.5736 MB / 1.406 GB, free: 5.406 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/1.461, allocations: 40 kB / 1.406 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.463, allocations: 87.89 kB / 1.406 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.464, allocations: 178.6 kB / 1.406 GB, free: 5.105 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.464, allocations: 52.8 kB / 1.406 GB, free: 5.055 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008151/1.465, allocations: 0.718 MB / 1.407 GB, free: 4.324 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.465, allocations: 0.6562 kB / 1.407 GB, free: 4.324 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003363/1.468, allocations: 1.004 MB / 1.408 GB, free: 3.32 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/1.468, allocations: 145.6 kB / 1.408 GB, free: 3.172 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00958/1.478, allocations: 5.739 MB / 1.414 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.478, allocations: 0 / 1.414 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0106/1.489, allocations: 3.787 MB / 1.418 GB, free: 9.57 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.491, allocations: 231.9 kB / 1.418 GB, free: 9.359 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.505, allocations: 5.188 MB / 1.423 GB, free: 4.145 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.508, allocations: 1.275 MB / 1.424 GB, free: 2.828 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001393/1.509, allocations: 346.3 kB / 1.424 GB, free: 2.492 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.51, allocations: 60.5 kB / 1.425 GB, free: 2.434 MB / 1.201 GB Notification: Performance of SimCode: time 8.22e-07/1.51, allocations: 0 / 1.425 GB, free: 2.434 MB / 1.201 GB Notification: Performance of Templates: time 0.12/1.63, allocations: 63.98 MB / 1.487 GB, free: 2.504 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.733632339164615]