Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, 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.001508/0.001508, allocations: 216.8 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8/2.8, allocations: 476 MB / 0.7707 GB, free: 4.719 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.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_11_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_11_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.002107/0.002107, allocations: 67.69 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01553/0.3475, allocations: 9.658 MB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007625/0.3552, allocations: 3.025 MB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.3566, allocations: 51.62 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.3594, allocations: 0.6982 MB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.3619, allocations: 0.7195 MB / 1.298 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.3639, allocations: 0.6411 MB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.3675, allocations: 2.738 MB / 1.301 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.37, allocations: 1.356 MB / 1.302 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.3722, allocations: 1.169 MB / 1.303 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3747, allocations: 1.422 MB / 1.305 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006075/0.3753, allocations: 216 kB / 1.305 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3766, allocations: 467.4 kB / 1.305 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.3782, allocations: 1.005 MB / 1.306 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.38, allocations: 0.8327 MB / 1.307 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.3847, allocations: 3.43 MB / 1.311 GB, free: 444 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3847, allocations: 0 / 1.311 GB, free: 444 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3847, allocations: 0 / 1.311 GB, free: 444 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001076/0.3848, allocations: 0 / 1.311 GB, free: 444 kB / 0.9981 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.005185/0.39, allocations: 1.921 MB / 1.312 GB, free: 14.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.39, allocations: 8.031 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.396, allocations: 0.897 MB / 1.313 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.3989, allocations: 1.124 MB / 1.314 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.399, allocations: 107.3 kB / 1.315 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.3994, allocations: 144.3 kB / 1.315 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.4052, allocations: 3.092 MB / 1.318 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.4052, allocations: 7.938 kB / 1.318 GB, free: 8.941 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.4054, allocations: 71.95 kB / 1.318 GB, free: 8.871 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.4057, allocations: 182.9 kB / 1.318 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.4108, allocations: 2.596 MB / 1.32 GB, free: 6.09 MB / 1.014 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.01703/0.4278, allocations: 9.059 MB / 1.329 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.43, allocations: 1.217 MB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4315, allocations: 0.9798 MB / 1.331 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.4316, allocations: 8.656 kB / 1.331 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4316, allocations: 39.22 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.4316, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07603/0.5076, allocations: 18.88 MB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.5077, allocations: 72.66 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5091, allocations: 0.9102 MB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.5094, allocations: 49.7 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/0.51, allocations: 0.7501 MB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005526/0.5105, allocations: 0.4918 MB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006085/0.5112, allocations: 299.5 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5113, allocations: 353.9 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.5134, allocations: 1.335 MB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.5157, allocations: 1.655 MB / 1.356 GB, free: 1.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/0.5202, allocations: 3.089 MB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.5202, allocations: 7.938 kB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01241/0.5326, allocations: 5.547 MB / 1.364 GB, free: 8.758 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.5326, allocations: 12 kB / 1.364 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.5327, allocations: 8 kB / 1.364 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008944/0.5416, allocations: 2.722 MB / 1.367 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.5425, allocations: 195.6 kB / 1.367 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03919/0.5817, allocations: 24.82 MB / 1.391 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.5834, allocations: 99.95 kB / 1.391 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.5836, allocations: 63.88 kB / 1.391 GB, free: 12.43 MB / 1.092 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.001293/0.5849, allocations: 0.7431 MB / 1.392 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.5852, allocations: 115.3 kB / 1.392 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.5973, allocations: 5.306 MB / 1.397 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.5974, allocations: 19.88 kB / 1.397 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/0.5974, allocations: 20 kB / 1.397 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.5974, allocations: 7.969 kB / 1.397 GB, free: 6.18 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.6148, allocations: 7.96 MB / 1.405 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.6148, allocations: 0 / 1.405 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.6154, allocations: 127.7 kB / 1.405 GB, free: 13.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008822/0.6242, allocations: 2.592 MB / 1.408 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.6244, allocations: 27.94 kB / 1.408 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03807/0.6625, allocations: 23.31 MB / 1.431 GB, free: 3.637 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.6625, allocations: 7.984 kB / 1.431 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.6745, allocations: 5.179 MB / 1.436 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.6761, allocations: 419.1 kB / 1.436 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.6764, allocations: 28 kB / 1.436 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.6774, allocations: 75.91 kB / 1.436 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/0.6779, allocations: 132.9 kB / 1.436 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.678, allocations: 36 kB / 1.436 GB, free: 13.69 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009615/0.679, allocations: 0.6278 MB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.679, allocations: 0 / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002527/0.6815, allocations: 0.7188 MB / 1.438 GB, free: 12.35 MB / 1.139 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.0002936/0.6818, allocations: 135.1 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007915/0.6897, allocations: 4.094 MB / 1.442 GB, free: 8.062 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.6897, allocations: 4 kB / 1.442 GB, free: 8.059 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005829/0.6956, allocations: 2.619 MB / 1.444 GB, free: 5.391 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.697, allocations: 218.5 kB / 1.445 GB, free: 5.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00795/0.7049, allocations: 4.344 MB / 1.449 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.7067, allocations: 1.14 MB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.707, allocations: 63.44 kB / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of SimCode: time 1.583e-06/0.707, allocations: 0 / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of Templates: time 0.08014/0.7872, allocations: 60.59 MB / 1.509 GB, free: 2.922 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.245734984986484]