Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002413/0.002413, allocations: 113 kB / 18.94 MB, free: 2.934 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.002581/0.002581, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.035 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.185/3.185, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.003557/0.003557, allocations: 78.61 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3885, allocations: 176.1 MB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03583/0.4243, allocations: 27.93 MB / 1.354 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.4403, allocations: 8.395 MB / 1.362 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.4432, allocations: 150.9 kB / 1.362 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009651/0.4529, allocations: 2.897 MB / 1.365 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006959/0.4598, allocations: 1.664 MB / 1.366 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0074/0.4672, allocations: 1.726 MB / 1.368 GB, free: 6.523 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.4796, allocations: 6.143 MB / 1.374 GB, free: 364 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.4899, allocations: 3.781 MB / 1.378 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.4967, allocations: 2.656 MB / 1.38 GB, free: 9.816 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007721/0.5045, allocations: 2.99 MB / 1.383 GB, free: 6.816 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.5068, allocations: 0.5078 MB / 1.384 GB, free: 6.309 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.5114, allocations: 1.314 MB / 1.385 GB, free: 4.992 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003513/0.5149, allocations: 2.108 MB / 1.387 GB, free: 2.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005093/0.52, allocations: 2.377 MB / 1.389 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.5321, allocations: 8.079 MB / 1.397 GB, free: 8.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5321, allocations: 0 / 1.397 GB, free: 8.387 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5321, allocations: 0 / 1.397 GB, free: 8.387 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003184/0.5324, allocations: 3.984 kB / 1.397 GB, free: 8.383 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01283/0.5453, allocations: 4.256 MB / 1.402 GB, free: 4.074 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5453, allocations: 8.031 kB / 1.402 GB, free: 4.066 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.5506, allocations: 0.8179 MB / 1.402 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/0.5573, allocations: 2.534 MB / 1.405 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.5576, allocations: 271.6 kB / 1.405 GB, free: 392 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.5591, allocations: 384.5 kB / 1.405 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.5747, allocations: 5.996 MB / 1.411 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.5749, allocations: 19.83 kB / 1.411 GB, free: 9.734 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.5761, allocations: 156 kB / 1.411 GB, free: 9.582 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007649/0.5769, allocations: 282.9 kB / 1.412 GB, free: 9.305 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.5873, allocations: 4.52 MB / 1.416 GB, free: 4.777 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.6228, allocations: 27.24 MB / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.6246, allocations: 1.066 MB / 1.444 GB, free: 5.953 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.6261, allocations: 0.9571 MB / 1.445 GB, free: 4.996 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.6262, allocations: 13 kB / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.6262, allocations: 55.44 kB / 1.445 GB, free: 4.922 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.805e-06/0.6262, allocations: 0 / 1.445 GB, free: 4.922 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02262/0.6489, allocations: 9.087 MB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.6489, allocations: 68.7 kB / 1.454 GB, free: 11.69 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6512, allocations: 1.498 MB / 1.455 GB, free: 10.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.6513, allocations: 45.7 kB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.6526, allocations: 1.711 MB / 1.457 GB, free: 8.414 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.6531, allocations: 499.7 kB / 1.457 GB, free: 7.922 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/0.6536, allocations: 331.4 kB / 1.458 GB, free: 7.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6537, allocations: 305.1 kB / 1.458 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.6552, allocations: 0.9213 MB / 1.459 GB, free: 6.367 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.657, allocations: 1.459 MB / 1.46 GB, free: 4.672 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.6606, allocations: 2.55 MB / 1.463 GB, free: 1.883 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.6606, allocations: 8 kB / 1.463 GB, free: 1.875 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006325/0.6669, allocations: 3.267 MB / 1.466 GB, free: 14.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.6669, allocations: 15.98 kB / 1.466 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.667, allocations: 20 kB / 1.466 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.6693, allocations: 0.7339 MB / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.6709, allocations: 383.4 kB / 1.467 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/0.6882, allocations: 16.14 MB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.69, allocations: 108 kB / 1.483 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.6901, allocations: 75.94 kB / 1.483 GB, free: 12.05 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002559/0.6927, allocations: 1.312 MB / 1.484 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.6932, allocations: 210.7 kB / 1.485 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/0.6989, allocations: 2.765 MB / 1.487 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.699, allocations: 12 kB / 1.487 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.699, allocations: 8 kB / 1.487 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.699, allocations: 7.969 kB / 1.487 GB, free: 7.684 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7106, allocations: 6.173 MB / 1.493 GB, free: 1.352 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7106, allocations: 8 kB / 1.493 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7118, allocations: 231.6 kB / 1.494 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.7139, allocations: 0.6671 MB / 1.494 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.714, allocations: 35.98 kB / 1.494 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.731, allocations: 15.87 MB / 1.51 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.731, allocations: 11.94 kB / 1.51 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/0.7381, allocations: 3.994 MB / 1.514 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7392, allocations: 390.6 kB / 1.514 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.7395, allocations: 47.86 kB / 1.514 GB, free: 10.94 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/0.7404, allocations: 83.89 kB / 1.514 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.7407, allocations: 116.6 kB / 1.514 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.206e-05/0.7408, allocations: 44 kB / 1.514 GB, free: 10.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001499/0.7423, allocations: 0.9942 MB / 1.515 GB, free: 9.715 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.7423, allocations: 0 / 1.515 GB, free: 9.715 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002353/0.7447, allocations: 0.6836 MB / 1.516 GB, free: 9.031 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.745, allocations: 157.3 kB / 1.516 GB, free: 8.871 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005609/0.7506, allocations: 3.374 MB / 1.519 GB, free: 5.379 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.7506, allocations: 8.062 kB / 1.519 GB, free: 5.371 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/0.754, allocations: 2.24 MB / 1.522 GB, free: 3.02 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.757, allocations: 0.6796 MB / 1.522 GB, free: 2.359 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.7685, allocations: 6.634 MB / 1.529 GB, free: 11.62 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/0.7715, allocations: 2.672 MB / 1.531 GB, free: 8.918 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001673/0.7732, allocations: 489.4 kB / 1.532 GB, free: 8.438 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.7736, allocations: 115.4 kB / 1.532 GB, free: 8.328 MB / 1.232 GB Notification: Performance of SimCode: time 1.073e-06/0.7736, allocations: 0 / 1.532 GB, free: 8.328 MB / 1.232 GB Notification: Performance of Templates: time 0.06601/0.8396, allocations: 35.71 MB / 1.567 GB, free: 5.129 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 10.222897324711084]