Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.002137/0.002137, allocations: 103.9 kB / 16.45 MB, free: 6.449 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.002258/0.002258, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.516/1.516, allocations: 230.5 MB / 252.8 MB, free: 9.125 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.279/3.279, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 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_RL,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [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.002472/0.002472, allocations: 74.61 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3597, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03065/0.3904, allocations: 22.96 MB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.4028, allocations: 6.334 MB / 1.35 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.4048, allocations: 123.1 kB / 1.35 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.4089, allocations: 1.573 MB / 1.352 GB, free: 3.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.4132, allocations: 1.739 MB / 1.353 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.4166, allocations: 1.34 MB / 1.355 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007729/0.4243, allocations: 5.935 MB / 1.36 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006413/0.4307, allocations: 4.475 MB / 1.365 GB, free: 6.172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.4355, allocations: 2.481 MB / 1.367 GB, free: 3.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.4409, allocations: 3.073 MB / 1.37 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.4428, allocations: 456 kB / 1.371 GB, free: 160 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.4466, allocations: 1.119 MB / 1.372 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/0.4496, allocations: 2.089 MB / 1.374 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003992/0.4536, allocations: 2.167 MB / 1.376 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4638, allocations: 7.312 MB / 1.383 GB, free: 3.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4639, allocations: 4 kB / 1.383 GB, free: 3.426 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4639, allocations: 0 / 1.383 GB, free: 3.426 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001989/0.4641, allocations: 0 / 1.383 GB, free: 3.426 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008945/0.473, allocations: 3.917 MB / 1.387 GB, free: 15.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.473, allocations: 15.98 kB / 1.387 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.4795, allocations: 1.223 MB / 1.388 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/0.4841, allocations: 2.357 MB / 1.39 GB, free: 11.79 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.4843, allocations: 246.4 kB / 1.391 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006167/0.4849, allocations: 311.9 kB / 1.391 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.4959, allocations: 6.212 MB / 1.397 GB, free: 4.77 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-05/0.496, allocations: 15.83 kB / 1.397 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.4964, allocations: 143.9 kB / 1.397 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005426/0.4969, allocations: 402.3 kB / 1.397 GB, free: 4.219 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00808/0.505, allocations: 4.666 MB / 1.402 GB, free: 15.54 MB / 1.107 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.03503/0.54, allocations: 28.99 MB / 1.43 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.5422, allocations: 1.381 MB / 1.432 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.5443, allocations: 1.436 MB / 1.433 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.5444, allocations: 12.98 kB / 1.433 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.5444, allocations: 47.56 kB / 1.433 GB, free: 12.95 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.725e-06/0.5444, allocations: 0 / 1.433 GB, free: 12.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.1555/0.6999, allocations: 37.14 MB / 1.469 GB, free: 7.734 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.6999, allocations: 69.41 kB / 1.469 GB, free: 7.652 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.7022, allocations: 1.431 MB / 1.471 GB, free: 6.215 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.7025, allocations: 49.7 kB / 1.471 GB, free: 6.16 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.7037, allocations: 1.583 MB / 1.472 GB, free: 4.562 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007838/0.7045, allocations: 0.639 MB / 1.473 GB, free: 3.918 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/0.7054, allocations: 387.5 kB / 1.473 GB, free: 3.531 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7055, allocations: 301.1 kB / 1.474 GB, free: 3.234 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/0.7084, allocations: 1.784 MB / 1.475 GB, free: 1.445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.7119, allocations: 2.35 MB / 1.478 GB, free: 14.84 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/0.7184, allocations: 4.394 MB / 1.482 GB, free: 10.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.7184, allocations: 4 kB / 1.482 GB, free: 10.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01992/0.7383, allocations: 8.423 MB / 1.49 GB, free: 1.742 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.7384, allocations: 12 kB / 1.49 GB, free: 1.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.7384, allocations: 16.88 kB / 1.49 GB, free: 1.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/0.7549, allocations: 4.644 MB / 1.495 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.7562, allocations: 303.4 kB / 1.495 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05532/0.8115, allocations: 32.63 MB / 1.527 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.8139, allocations: 147.8 kB / 1.527 GB, free: 11.13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.8142, allocations: 87.98 kB / 1.527 GB, free: 11.04 MB / 1.232 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002609/0.8169, allocations: 1.328 MB / 1.528 GB, free: 9.703 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/0.8174, allocations: 206.7 kB / 1.529 GB, free: 9.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/0.8379, allocations: 8.289 MB / 1.537 GB, free: 1.168 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.8379, allocations: 20 kB / 1.537 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.489e-05/0.838, allocations: 32.19 kB / 1.537 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/0.838, allocations: 7.969 kB / 1.537 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/0.8661, allocations: 12.69 MB / 1.549 GB, free: 4.246 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.8661, allocations: 12.16 kB / 1.549 GB, free: 4.234 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.8668, allocations: 167.7 kB / 1.549 GB, free: 4.07 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01591/0.8828, allocations: 4.483 MB / 1.554 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003635/0.8831, allocations: 40 kB / 1.554 GB, free: 15.53 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05309/0.9362, allocations: 32.23 MB / 1.585 GB, free: 14.45 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.9362, allocations: 11.94 kB / 1.585 GB, free: 14.43 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/0.9552, allocations: 8.105 MB / 1.593 GB, free: 6.203 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.9568, allocations: 0.6245 MB / 1.594 GB, free: 5.559 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005659/0.9573, allocations: 39.98 kB / 1.594 GB, free: 5.52 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.9592, allocations: 135.8 kB / 1.594 GB, free: 5.387 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009454/0.9601, allocations: 168.9 kB / 1.594 GB, free: 5.219 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/0.9603, allocations: 52 kB / 1.594 GB, free: 5.168 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001819/0.9622, allocations: 0.9549 MB / 1.595 GB, free: 4.219 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.9622, allocations: 0 / 1.595 GB, free: 4.219 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004103/0.9663, allocations: 1.117 MB / 1.596 GB, free: 3.102 MB / 1.295 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004238/0.9667, allocations: 159 kB / 1.596 GB, free: 2.938 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.681/1.648, allocations: 6.3 MB / 1.603 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.648, allocations: 1.062 kB / 1.603 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.658, allocations: 4.187 MB / 1.607 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.661, allocations: 0.5372 MB / 1.607 GB, free: 262.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.675, allocations: 6.902 MB / 1.614 GB, free: 260.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/1.678, allocations: 2.722 MB / 1.617 GB, free: 259.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001344/1.679, allocations: 393.1 kB / 1.617 GB, free: 259.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/1.68, allocations: 94.19 kB / 1.617 GB, free: 259.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.353e-06/1.68, allocations: 3.938 kB / 1.617 GB, free: 259.5 MB / 1.295 GB Notification: Performance of Templates: time 0.08026/1.76, allocations: 61.81 MB / 1.677 GB, free: 218.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 11.39607723010704]