Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001445/0.001445, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001878/0.001878, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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 3.273/3.273, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 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_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_latest_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_latest_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.00222/0.00222, allocations: 72.42 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02945/0.3808, allocations: 23.65 MB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3927, allocations: 6.431 MB / 1.383 GB, free: 9.785 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.3947, allocations: 123.1 kB / 1.384 GB, free: 9.664 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.3993, allocations: 1.616 MB / 1.385 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.4038, allocations: 1.731 MB / 1.387 GB, free: 6.305 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.4076, allocations: 1.4 MB / 1.388 GB, free: 4.906 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007883/0.4154, allocations: 5.932 MB / 1.394 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/0.4208, allocations: 3.225 MB / 1.397 GB, free: 11.65 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.4252, allocations: 2.481 MB / 1.4 GB, free: 9.16 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/0.4306, allocations: 3.069 MB / 1.403 GB, free: 6.082 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.4319, allocations: 460 kB / 1.403 GB, free: 5.633 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.4349, allocations: 1.116 MB / 1.404 GB, free: 4.516 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/0.4378, allocations: 2.085 MB / 1.406 GB, free: 2.426 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00391/0.4417, allocations: 2.167 MB / 1.408 GB, free: 256 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009634/0.4513, allocations: 7.316 MB / 1.415 GB, free: 8.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4513, allocations: 0 / 1.415 GB, free: 8.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4513, allocations: 0 / 1.415 GB, free: 8.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002378/0.4516, allocations: 3.938 kB / 1.415 GB, free: 8.906 MB / 1.107 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.009109/0.4607, allocations: 3.834 MB / 1.419 GB, free: 5.023 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4607, allocations: 12.03 kB / 1.419 GB, free: 5.012 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006339/0.4671, allocations: 1.231 MB / 1.42 GB, free: 3.777 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/0.473, allocations: 2.305 MB / 1.423 GB, free: 1.426 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.4733, allocations: 238.4 kB / 1.423 GB, free: 1.191 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009922/0.4743, allocations: 315.9 kB / 1.423 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4861, allocations: 6.209 MB / 1.429 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.055e-05/0.4862, allocations: 23.81 kB / 1.429 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/0.4866, allocations: 139.9 kB / 1.429 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005249/0.4871, allocations: 402.3 kB / 1.43 GB, free: 9.859 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008661/0.4958, allocations: 4.662 MB / 1.434 GB, free: 5.188 MB / 1.123 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.03575/0.5315, allocations: 28.74 MB / 1.462 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.5337, allocations: 1.381 MB / 1.464 GB, free: 4.332 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.5357, allocations: 1.427 MB / 1.465 GB, free: 2.906 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.5359, allocations: 20.98 kB / 1.465 GB, free: 2.887 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.5359, allocations: 39.56 kB / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 2.795e-06/0.5359, allocations: 0 / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1358/0.6717, allocations: 37.08 MB / 1.501 GB, free: 13.7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.6718, allocations: 69.41 kB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.6739, allocations: 1.423 MB / 1.503 GB, free: 12.19 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002943/0.6742, allocations: 53.7 kB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.6755, allocations: 1.59 MB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/0.6763, allocations: 0.6351 MB / 1.505 GB, free: 9.887 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007628/0.6771, allocations: 387.5 kB / 1.505 GB, free: 9.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6772, allocations: 309.1 kB / 1.506 GB, free: 9.195 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.68, allocations: 1.784 MB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.6834, allocations: 2.354 MB / 1.51 GB, free: 4.801 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00653/0.6899, allocations: 4.387 MB / 1.514 GB, free: 176 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.6899, allocations: 4 kB / 1.514 GB, free: 172 kB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01929/0.7092, allocations: 8.431 MB / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.7093, allocations: 12 kB / 1.522 GB, free: 7.688 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.7093, allocations: 16 kB / 1.522 GB, free: 7.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.7243, allocations: 4.64 MB / 1.527 GB, free: 3.016 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.7256, allocations: 303.4 kB / 1.527 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05145/0.777, allocations: 32.02 MB / 1.558 GB, free: 2.004 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.779, allocations: 151.8 kB / 1.559 GB, free: 1.855 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.7793, allocations: 80 kB / 1.559 GB, free: 1.777 MB / 1.248 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.002437/0.7817, allocations: 1.329 MB / 1.56 GB, free: 448 kB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/0.7822, allocations: 214.7 kB / 1.56 GB, free: 232 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/0.8008, allocations: 8.289 MB / 1.568 GB, free: 7.891 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.8009, allocations: 19.94 kB / 1.568 GB, free: 7.871 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.432e-05/0.8009, allocations: 27.94 kB / 1.568 GB, free: 7.844 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.801, allocations: 11.97 kB / 1.568 GB, free: 7.832 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/0.8277, allocations: 12.67 MB / 1.581 GB, free: 10.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.8277, allocations: 8 kB / 1.581 GB, free: 10.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/0.8284, allocations: 163.8 kB / 1.581 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01479/0.8432, allocations: 4.493 MB / 1.585 GB, free: 6.312 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/0.8435, allocations: 32 kB / 1.585 GB, free: 6.281 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7505/1.594, allocations: 31.6 MB / 1.616 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.594, allocations: 13.12 kB / 1.616 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/1.612, allocations: 8.106 MB / 1.624 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.614, allocations: 0.5468 MB / 1.625 GB, free: 229.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/1.615, allocations: 44.11 kB / 1.625 GB, free: 229.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.616, allocations: 132.3 kB / 1.625 GB, free: 229.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007994/1.617, allocations: 185.7 kB / 1.625 GB, free: 229.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.617, allocations: 54.48 kB / 1.625 GB, free: 229.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001371/1.618, allocations: 0.9557 MB / 1.626 GB, free: 229.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.618, allocations: 0 / 1.626 GB, free: 229.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003537/1.622, allocations: 1.116 MB / 1.627 GB, free: 229.3 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.0003447/1.622, allocations: 147.2 kB / 1.627 GB, free: 229.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.634, allocations: 6.311 MB / 1.633 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.634, allocations: 1.094 kB / 1.633 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008739/1.643, allocations: 4.181 MB / 1.637 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.646, allocations: 0.5387 MB / 1.638 GB, free: 225 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.658, allocations: 7.506 MB / 1.645 GB, free: 221.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.661, allocations: 2.801 MB / 1.648 GB, free: 220.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.661, allocations: 110.2 kB / 1.648 GB, free: 220.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.661, allocations: 0 / 1.648 GB, free: 220.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1099/1.771, allocations: 154.4 MB / 1.799 GB, free: 77.89 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.40475019798032]