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.001422/0.001422, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.001494/0.001494, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.485/3.485, allocations: 0.49 GB / 0.7915 GB, free: 33.3 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.00212/0.00212, allocations: 67.97 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 176.1 MB / 1.321 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03347/0.4178, allocations: 27.13 MB / 1.348 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.4327, allocations: 8.192 MB / 1.356 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.4353, allocations: 154.8 kB / 1.356 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007795/0.4431, allocations: 2.811 MB / 1.359 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.448, allocations: 1.668 MB / 1.36 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004799/0.4528, allocations: 1.678 MB / 1.362 GB, free: 9.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.4638, allocations: 6.13 MB / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009827/0.4736, allocations: 5.321 MB / 1.373 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006186/0.4798, allocations: 2.656 MB / 1.376 GB, free: 10.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006859/0.4866, allocations: 2.994 MB / 1.379 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.4886, allocations: 0.5078 MB / 1.379 GB, free: 7.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.4933, allocations: 1.311 MB / 1.38 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004777/0.498, allocations: 2.108 MB / 1.382 GB, free: 4.055 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006479/0.5045, allocations: 2.381 MB / 1.385 GB, free: 1.664 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.5168, allocations: 8.075 MB / 1.393 GB, free: 9.562 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5168, allocations: 0 / 1.393 GB, free: 9.562 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5168, allocations: 0 / 1.393 GB, free: 9.562 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002675/0.5171, allocations: 0 / 1.393 GB, free: 9.562 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.01222/0.5293, allocations: 4.336 MB / 1.397 GB, free: 5.156 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5293, allocations: 11.98 kB / 1.397 GB, free: 5.145 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005571/0.5349, allocations: 0.8296 MB / 1.398 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5413, allocations: 2.586 MB / 1.4 GB, free: 1.672 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.5417, allocations: 271.6 kB / 1.4 GB, free: 1.406 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.5434, allocations: 372.6 kB / 1.401 GB, free: 1.043 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.5592, allocations: 5.996 MB / 1.407 GB, free: 10.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.5594, allocations: 19.81 kB / 1.407 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.5606, allocations: 160 kB / 1.407 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008299/0.5615, allocations: 282.9 kB / 1.407 GB, free: 10.34 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.5724, allocations: 4.524 MB / 1.412 GB, free: 5.809 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/0.6113, allocations: 27.5 MB / 1.438 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.6134, allocations: 1.061 MB / 1.439 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.615, allocations: 0.9704 MB / 1.44 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6151, allocations: 13 kB / 1.44 GB, free: 5.762 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.6152, allocations: 55.56 kB / 1.44 GB, free: 5.695 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.687e-06/0.6152, allocations: 3.938 kB / 1.44 GB, free: 5.691 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02568/0.6409, allocations: 9.684 MB / 1.45 GB, free: 11.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.6409, allocations: 64.72 kB / 1.45 GB, free: 11.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.6437, allocations: 1.498 MB / 1.451 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.6438, allocations: 53.7 kB / 1.451 GB, free: 10.18 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.6455, allocations: 1.715 MB / 1.453 GB, free: 8.441 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.646, allocations: 495.8 kB / 1.454 GB, free: 7.953 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007489/0.6468, allocations: 327.4 kB / 1.454 GB, free: 7.625 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.647, allocations: 309.1 kB / 1.454 GB, free: 7.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.6486, allocations: 0.9174 MB / 1.455 GB, free: 6.402 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.6508, allocations: 1.459 MB / 1.457 GB, free: 4.699 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.6548, allocations: 2.55 MB / 1.459 GB, free: 1.906 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.6548, allocations: 4 kB / 1.459 GB, free: 1.902 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007038/0.6618, allocations: 3.275 MB / 1.462 GB, free: 14.59 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.6619, allocations: 12 kB / 1.462 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.6619, allocations: 16 kB / 1.462 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.6645, allocations: 0.7419 MB / 1.463 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.6662, allocations: 391.4 kB / 1.463 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.6865, allocations: 17.05 MB / 1.48 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.6884, allocations: 95.91 kB / 1.48 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/0.6888, allocations: 76 kB / 1.48 GB, free: 10.92 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.002873/0.6917, allocations: 1.317 MB / 1.481 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.6923, allocations: 206.7 kB / 1.482 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.6983, allocations: 2.761 MB / 1.484 GB, free: 6.586 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6983, allocations: 12 kB / 1.484 GB, free: 6.574 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.6983, allocations: 4 kB / 1.484 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6984, allocations: 11.97 kB / 1.484 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.7113, allocations: 6.209 MB / 1.49 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.7113, allocations: 4 kB / 1.49 GB, free: 184 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.7125, allocations: 231.8 kB / 1.491 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.7148, allocations: 0.6673 MB / 1.491 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.7149, allocations: 35.98 kB / 1.491 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/0.7336, allocations: 16.79 MB / 1.508 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.7336, allocations: 11.94 kB / 1.508 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.741, allocations: 3.994 MB / 1.512 GB, free: 9.059 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.7422, allocations: 475.6 kB / 1.512 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/0.7427, allocations: 35.94 kB / 1.512 GB, free: 8.539 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.7439, allocations: 79.89 kB / 1.512 GB, free: 8.461 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.7443, allocations: 116.7 kB / 1.512 GB, free: 8.348 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.7444, allocations: 40 kB / 1.512 GB, free: 8.309 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001882/0.7463, allocations: 0.9903 MB / 1.513 GB, free: 7.328 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7463, allocations: 0 / 1.513 GB, free: 7.328 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002788/0.7491, allocations: 0.6874 MB / 1.514 GB, free: 6.641 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.0003428/0.7494, allocations: 163.2 kB / 1.514 GB, free: 6.473 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006141/0.7556, allocations: 3.386 MB / 1.517 GB, free: 2.973 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.7556, allocations: 0 / 1.517 GB, free: 2.973 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.7593, allocations: 2.233 MB / 1.52 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.7628, allocations: 0.6851 MB / 1.52 GB, free: 15.95 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.7755, allocations: 6.557 MB / 1.527 GB, free: 9.301 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/0.7797, allocations: 2.664 MB / 1.529 GB, free: 6.605 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001805/0.7815, allocations: 481.4 kB / 1.53 GB, free: 6.133 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.7819, allocations: 127.4 kB / 1.53 GB, free: 6.008 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/0.7819, allocations: 0 / 1.53 GB, free: 6.008 MB / 1.232 GB Notification: Performance of Templates: time 0.06422/0.8461, allocations: 34.55 MB / 1.564 GB, free: 3.973 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.19797658873722]