Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001892/0.001892, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002211/0.002211, allocations: 213 kB / 22.99 MB, free: 4.957 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.485/1.485, 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 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.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") [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.002089/0.002089, allocations: 69.55 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02953/0.4279, allocations: 22.26 MB / 1.349 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4417, allocations: 6.442 MB / 1.355 GB, free: 4.141 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.4443, allocations: 127.1 kB / 1.355 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004372/0.4487, allocations: 1.506 MB / 1.357 GB, free: 2.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.454, allocations: 1.945 MB / 1.359 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.458, allocations: 1.459 MB / 1.36 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009584/0.4676, allocations: 6.913 MB / 1.367 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006566/0.4742, allocations: 3.761 MB / 1.37 GB, free: 4.297 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.4793, allocations: 2.937 MB / 1.373 GB, free: 1.352 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006487/0.4858, allocations: 3.731 MB / 1.377 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.4868, allocations: 0.5273 MB / 1.377 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.4896, allocations: 1.116 MB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002883/0.4924, allocations: 2.533 MB / 1.381 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.4954, allocations: 2.05 MB / 1.383 GB, free: 7.367 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.5055, allocations: 8.601 MB / 1.391 GB, free: 14.74 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5055, allocations: 0 / 1.391 GB, free: 14.74 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5055, allocations: 0 / 1.391 GB, free: 14.74 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002067/0.5057, allocations: 0 / 1.391 GB, free: 14.74 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009422/0.5151, allocations: 4.468 MB / 1.396 GB, free: 10.21 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5152, allocations: 8.031 kB / 1.396 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.5241, allocations: 1.699 MB / 1.397 GB, free: 8.504 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007111/0.5312, allocations: 2.676 MB / 1.4 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.5316, allocations: 275.7 kB / 1.4 GB, free: 5.516 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.5326, allocations: 356.3 kB / 1.401 GB, free: 5.168 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.548, allocations: 7.72 MB / 1.408 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.6e-05/0.5481, allocations: 15.83 kB / 1.408 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004661/0.5485, allocations: 159.9 kB / 1.408 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006859/0.5492, allocations: 483.3 kB / 1.409 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.56, allocations: 5.697 MB / 1.414 GB, free: 6.773 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.5938, allocations: 19.96 MB / 1.434 GB, free: 2.355 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.597, allocations: 2.011 MB / 1.436 GB, free: 340 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.6004, allocations: 2.1 MB / 1.438 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.6005, allocations: 17.31 kB / 1.438 GB, free: 14.21 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.6005, allocations: 55.86 kB / 1.438 GB, free: 14.15 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.098e-06/0.6005, allocations: 0 / 1.438 GB, free: 14.15 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3037/0.9043, allocations: 76.7 MB / 1.513 GB, free: 1.324 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.9044, allocations: 77.41 kB / 1.513 GB, free: 1.234 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.9071, allocations: 1.61 MB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004886/0.9076, allocations: 65.7 kB / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.9091, allocations: 1.799 MB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.9102, allocations: 0.8946 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.9113, allocations: 493.3 kB / 1.518 GB, free: 12.35 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9115, allocations: 313 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/0.9156, allocations: 2.73 MB / 1.521 GB, free: 9.305 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004705/0.9204, allocations: 3.328 MB / 1.524 GB, free: 5.73 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/0.9299, allocations: 6.393 MB / 1.53 GB, free: 15.09 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.9299, allocations: 4 kB / 1.53 GB, free: 15.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03467/0.9645, allocations: 14.4 MB / 1.544 GB, free: 0.6328 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.9646, allocations: 12 kB / 1.544 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/0.9646, allocations: 16 kB / 1.544 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0316/0.9962, allocations: 9.192 MB / 1.553 GB, free: 7.391 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.9975, allocations: 307.4 kB / 1.554 GB, free: 7.09 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08824/1.086, allocations: 50.85 MB / 1.603 GB, free: 3.578 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/1.089, allocations: 223.7 kB / 1.603 GB, free: 3.359 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.089, allocations: 99.94 kB / 1.604 GB, free: 3.262 MB / 1.295 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003462/1.093, allocations: 1.597 MB / 1.605 GB, free: 1.656 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/1.093, allocations: 246.7 kB / 1.605 GB, free: 1.414 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.837/1.93, allocations: 14.46 MB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-05/1.93, allocations: 28.59 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002758/1.931, allocations: 44 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/1.931, allocations: 13.03 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04105/1.972, allocations: 18.94 MB / 1.638 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/1.972, allocations: 6.781 kB / 1.638 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/1.972, allocations: 157.7 kB / 1.638 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02748/2, allocations: 8.975 MB / 1.647 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/2, allocations: 47.41 kB / 1.647 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0635/2.064, allocations: 50.42 MB / 1.696 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.064, allocations: 11.94 kB / 1.696 GB, free: 204.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02718/2.091, allocations: 14.08 MB / 1.71 GB, free: 189.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/2.094, allocations: 0.7611 MB / 1.711 GB, free: 189.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/2.094, allocations: 51.98 kB / 1.711 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/2.096, allocations: 211.7 kB / 1.711 GB, free: 188.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/2.097, allocations: 253.3 kB / 1.711 GB, free: 188.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/2.098, allocations: 68 kB / 1.711 GB, free: 188.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001216/2.099, allocations: 1.064 MB / 1.712 GB, free: 187.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.099, allocations: 0 / 1.712 GB, free: 187.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004369/2.103, allocations: 1.613 MB / 1.714 GB, free: 185.9 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/2.103, allocations: 161 kB / 1.714 GB, free: 185.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01857/2.122, allocations: 10.21 MB / 1.724 GB, free: 175.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/2.122, allocations: 3.938 kB / 1.724 GB, free: 175.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01503/2.137, allocations: 7.015 MB / 1.731 GB, free: 168.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/2.14, allocations: 0.5359 MB / 1.731 GB, free: 168 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/2.152, allocations: 8.932 MB / 1.74 GB, free: 159 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/2.155, allocations: 2.677 MB / 1.743 GB, free: 156.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009979/2.156, allocations: 378.8 kB / 1.743 GB, free: 155.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/2.156, allocations: 103.4 kB / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/2.156, allocations: 0 / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1083/2.265, allocations: 103 MB / 1.844 GB, free: 53.26 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 12.71848714099906]