Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001396/0.001396, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001604/0.001604, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ACLineMatrix_RLC,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [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.002129/0.002129, allocations: 74.14 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3475, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0143/0.3618, allocations: 9.648 MB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006387/0.3682, allocations: 3.029 MB / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008419/0.369, allocations: 51.62 kB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.3713, allocations: 0.6881 MB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.3733, allocations: 0.7235 MB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.375, allocations: 0.6338 MB / 1.342 GB, free: 2.098 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.3788, allocations: 2.734 MB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.3811, allocations: 1.368 MB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.3833, allocations: 1.161 MB / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.3858, allocations: 1.437 MB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.3862, allocations: 216 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.3873, allocations: 459.4 kB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.3886, allocations: 1.013 MB / 1.35 GB, free: 9.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.3898, allocations: 0.8288 MB / 1.351 GB, free: 8.824 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.3939, allocations: 3.438 MB / 1.354 GB, free: 5.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.3939, allocations: 0 / 1.354 GB, free: 5.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3939, allocations: 0 / 1.354 GB, free: 5.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.265e-05/0.394, allocations: 0 / 1.354 GB, free: 5.375 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004487/0.3985, allocations: 1.913 MB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3986, allocations: 8.031 kB / 1.356 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/0.4046, allocations: 0.9204 MB / 1.357 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.4073, allocations: 1.117 MB / 1.358 GB, free: 1.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4074, allocations: 119.3 kB / 1.358 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.4077, allocations: 144.3 kB / 1.358 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/0.413, allocations: 3.092 MB / 1.361 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.4131, allocations: 7.953 kB / 1.361 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.4133, allocations: 63.97 kB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.4135, allocations: 182.9 kB / 1.361 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/0.4183, allocations: 2.608 MB / 1.364 GB, free: 11.01 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.4345, allocations: 9.036 MB / 1.373 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.4367, allocations: 1.213 MB / 1.374 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.4382, allocations: 0.9799 MB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.4383, allocations: 8.656 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.4384, allocations: 43.16 kB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 5.82e-06/0.4384, allocations: 4 kB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07582/0.5142, allocations: 18.88 MB / 1.393 GB, free: 12.57 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.5143, allocations: 68.72 kB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.5157, allocations: 0.9141 MB / 1.394 GB, free: 11.56 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.5159, allocations: 53.64 kB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.5165, allocations: 0.7423 MB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/0.5171, allocations: 0.4996 MB / 1.396 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006127/0.5177, allocations: 299.5 kB / 1.396 GB, free: 9.941 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5179, allocations: 349.9 kB / 1.396 GB, free: 9.594 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.52, allocations: 1.335 MB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.5223, allocations: 1.655 MB / 1.399 GB, free: 6.492 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/0.5268, allocations: 3.092 MB / 1.402 GB, free: 3.281 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.5268, allocations: 8 kB / 1.402 GB, free: 3.273 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01244/0.5392, allocations: 5.548 MB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.5393, allocations: 9.875 kB / 1.408 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.5393, allocations: 12.06 kB / 1.408 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009058/0.5484, allocations: 2.713 MB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.5493, allocations: 199.6 kB / 1.41 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03922/0.5885, allocations: 24.84 MB / 1.435 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.59, allocations: 95.95 kB / 1.435 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.5901, allocations: 55.94 kB / 1.435 GB, free: 1.355 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.5914, allocations: 0.7359 MB / 1.436 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.5916, allocations: 123.2 kB / 1.436 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.6038, allocations: 5.306 MB / 1.441 GB, free: 11.15 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.6038, allocations: 19.94 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/0.6038, allocations: 16 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.6039, allocations: 7.969 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.6206, allocations: 7.96 MB / 1.449 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.6206, allocations: 8.094 kB / 1.449 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.6212, allocations: 119.8 kB / 1.449 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009049/0.6302, allocations: 2.581 MB / 1.451 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.6304, allocations: 32.38 kB / 1.451 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03765/0.6681, allocations: 23.32 MB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6681, allocations: 4 kB / 1.474 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.6801, allocations: 5.179 MB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.6813, allocations: 419.2 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6816, allocations: 40 kB / 1.48 GB, free: 2.848 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.6825, allocations: 75.89 kB / 1.48 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000629/0.6832, allocations: 128.9 kB / 1.48 GB, free: 2.645 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.6833, allocations: 40 kB / 1.48 GB, free: 2.605 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009562/0.6842, allocations: 0.62 MB / 1.48 GB, free: 1.988 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6842, allocations: 0 / 1.48 GB, free: 1.988 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002629/0.6869, allocations: 0.7228 MB / 1.481 GB, free: 1.266 MB / 1.17 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.6872, allocations: 143 kB / 1.481 GB, free: 1.117 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00794/0.6951, allocations: 4.086 MB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6951, allocations: 3.938 kB / 1.485 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.006184/0.7013, allocations: 2.622 MB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.7028, allocations: 227.5 kB / 1.488 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/0.7109, allocations: 4.324 MB / 1.492 GB, free: 5.695 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.7126, allocations: 1.14 MB / 1.493 GB, free: 4.52 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.7129, allocations: 63.38 kB / 1.493 GB, free: 4.457 MB / 1.186 GB Notification: Performance of SimCode: time 1.322e-06/0.7129, allocations: 0 / 1.493 GB, free: 4.457 MB / 1.186 GB Notification: Performance of Templates: time 0.09675/0.8097, allocations: 60.59 MB / 1.553 GB, free: 7.855 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 14.990048307925463]