Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001744/0.001744, allocations: 102.1 kB / 19.7 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.001744/0.001744, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.98 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.708/2.708, allocations: 476.7 MB / 0.7714 GB, free: 4.223 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_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_11_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_11_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.002031/0.002031, allocations: 68.66 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02902/0.336, allocations: 23.63 MB / 1.308 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.348, allocations: 6.443 MB / 1.314 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.3501, allocations: 127.1 kB / 1.314 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.3546, allocations: 1.612 MB / 1.316 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.3592, allocations: 1.723 MB / 1.317 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.3629, allocations: 1.397 MB / 1.319 GB, free: 8.203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007986/0.3709, allocations: 5.944 MB / 1.325 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005438/0.3763, allocations: 3.221 MB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.3808, allocations: 2.485 MB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005314/0.3861, allocations: 3.065 MB / 1.333 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3873, allocations: 460 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3903, allocations: 1.116 MB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.3932, allocations: 2.081 MB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.3968, allocations: 2.167 MB / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00922/0.406, allocations: 7.324 MB / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.406, allocations: 4 kB / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.406, allocations: 0 / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002411/0.4062, allocations: 0 / 1.346 GB, free: 12.19 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009266/0.4155, allocations: 3.847 MB / 1.35 GB, free: 8.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4155, allocations: 8.031 kB / 1.35 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006261/0.4218, allocations: 1.235 MB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/0.4276, allocations: 2.305 MB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.4279, allocations: 238.4 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.4289, allocations: 308 kB / 1.354 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.4413, allocations: 6.212 MB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-05/0.4414, allocations: 15.88 kB / 1.36 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004471/0.4419, allocations: 139.9 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005321/0.4424, allocations: 410.3 kB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009491/0.4519, allocations: 4.662 MB / 1.365 GB, free: 8.465 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.03765/0.4896, allocations: 28.74 MB / 1.393 GB, free: 9 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.4918, allocations: 1.369 MB / 1.394 GB, free: 7.617 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4939, allocations: 1.437 MB / 1.396 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.494, allocations: 16.94 kB / 1.396 GB, free: 6.164 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.4941, allocations: 51.55 kB / 1.396 GB, free: 6.102 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.787e-06/0.4941, allocations: 0 / 1.396 GB, free: 6.102 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1346/0.6287, allocations: 37.06 MB / 1.432 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.6287, allocations: 73.41 kB / 1.432 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.6308, allocations: 1.431 MB / 1.433 GB, free: 15.47 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002762/0.6311, allocations: 53.7 kB / 1.433 GB, free: 15.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.6324, allocations: 1.579 MB / 1.435 GB, free: 13.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007627/0.6331, allocations: 0.6429 MB / 1.436 GB, free: 13.17 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/0.6338, allocations: 379.5 kB / 1.436 GB, free: 12.79 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.634, allocations: 305.1 kB / 1.436 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/0.6368, allocations: 1.784 MB / 1.438 GB, free: 10.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.6401, allocations: 2.354 MB / 1.44 GB, free: 8.094 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.6464, allocations: 4.391 MB / 1.445 GB, free: 3.465 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.6464, allocations: 4 kB / 1.445 GB, free: 3.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01849/0.6649, allocations: 8.431 MB / 1.453 GB, free: 10.99 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.6649, allocations: 16.94 kB / 1.453 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.6649, allocations: 16 kB / 1.453 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/0.6797, allocations: 4.636 MB / 1.457 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.681, allocations: 303.4 kB / 1.458 GB, free: 6.016 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05145/0.7325, allocations: 32.01 MB / 1.489 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.7345, allocations: 151.8 kB / 1.489 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.7347, allocations: 84 kB / 1.489 GB, free: 5.074 MB / 1.186 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.00245/0.7372, allocations: 1.332 MB / 1.49 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.7377, allocations: 206.7 kB / 1.491 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/0.756, allocations: 8.285 MB / 1.499 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.756, allocations: 24 kB / 1.499 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.7561, allocations: 27.94 kB / 1.499 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.7561, allocations: 15.89 kB / 1.499 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/0.7828, allocations: 12.67 MB / 1.511 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.7828, allocations: 8.031 kB / 1.511 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.7836, allocations: 175.7 kB / 1.511 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/0.798, allocations: 4.481 MB / 1.516 GB, free: 9.605 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.7983, allocations: 39.94 kB / 1.516 GB, free: 9.566 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05063/0.849, allocations: 31.62 MB / 1.547 GB, free: 9.25 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.849, allocations: 11.94 kB / 1.547 GB, free: 9.238 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/0.8668, allocations: 8.101 MB / 1.555 GB, free: 1.012 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/0.8687, allocations: 0.5453 MB / 1.555 GB, free: 476 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.8691, allocations: 43.98 kB / 1.555 GB, free: 432 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8705, allocations: 131.8 kB / 1.555 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007523/0.8712, allocations: 180.8 kB / 1.555 GB, free: 120 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.8714, allocations: 52 kB / 1.555 GB, free: 68 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001476/0.8728, allocations: 0.9588 MB / 1.556 GB, free: 15.11 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8728, allocations: 0 / 1.556 GB, free: 15.11 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003524/0.8764, allocations: 1.117 MB / 1.558 GB, free: 14 MB / 1.264 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.0003504/0.8767, allocations: 157 kB / 1.558 GB, free: 13.83 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01304/0.8898, allocations: 6.3 MB / 1.564 GB, free: 7.453 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.8898, allocations: 192 / 1.564 GB, free: 7.453 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.009763/0.8995, allocations: 4.201 MB / 1.568 GB, free: 3.172 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.9023, allocations: 0.5303 MB / 1.568 GB, free: 2.652 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.9164, allocations: 7.511 MB / 1.576 GB, free: 11.03 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003609/0.92, allocations: 2.808 MB / 1.579 GB, free: 8.184 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.9204, allocations: 99.44 kB / 1.579 GB, free: 8.086 MB / 1.279 GB Notification: Performance of SimCode: time 1.964e-06/0.9204, allocations: 0 / 1.579 GB, free: 8.086 MB / 1.279 GB Notification: Performance of Templates: time 0.7561/1.677, allocations: 154.4 MB / 1.729 GB, free: 192.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.341930105001666]