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.001813/0.001813, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002377/0.002377, allocations: 214.6 kB / 22.25 MB, free: 4.855 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.809 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.352/3.352, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002115/0.002115, allocations: 68.84 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03805/0.4135, allocations: 25.59 MB / 1.351 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.4307, allocations: 8.091 MB / 1.358 GB, free: 96 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.4334, allocations: 154.9 kB / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.4418, allocations: 2.769 MB / 1.361 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.4471, allocations: 1.668 MB / 1.363 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.4526, allocations: 1.686 MB / 1.365 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009248/0.4619, allocations: 6.131 MB / 1.371 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008664/0.4705, allocations: 3.749 MB / 1.374 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006599/0.4771, allocations: 2.664 MB / 1.377 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/0.4835, allocations: 2.83 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.4854, allocations: 0.5078 MB / 1.38 GB, free: 9.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.4895, allocations: 1.201 MB / 1.381 GB, free: 8.582 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003919/0.4934, allocations: 2.104 MB / 1.383 GB, free: 6.473 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005438/0.4988, allocations: 1.93 MB / 1.385 GB, free: 4.535 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.5132, allocations: 8.111 MB / 1.393 GB, free: 12.4 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.5132, allocations: 4 kB / 1.393 GB, free: 12.39 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5132, allocations: 3.938 kB / 1.393 GB, free: 12.39 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003783/0.5136, allocations: 0 / 1.393 GB, free: 12.39 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.01414/0.5277, allocations: 4.256 MB / 1.397 GB, free: 8.082 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5278, allocations: 12.03 kB / 1.397 GB, free: 8.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.5334, allocations: 0.8179 MB / 1.398 GB, free: 7.25 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007822/0.5412, allocations: 2.534 MB / 1.401 GB, free: 4.652 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.5416, allocations: 275.6 kB / 1.401 GB, free: 4.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.5435, allocations: 376.6 kB / 1.401 GB, free: 4.016 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.5604, allocations: 6.444 MB / 1.407 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.5606, allocations: 19.89 kB / 1.407 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.5619, allocations: 156 kB / 1.408 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007317/0.5626, allocations: 282.9 kB / 1.408 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.5732, allocations: 4.52 MB / 1.412 GB, free: 8.227 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.605, allocations: 17.39 MB / 1.429 GB, free: 6.324 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.6071, allocations: 1.061 MB / 1.43 GB, free: 5.254 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.6088, allocations: 0.9546 MB / 1.431 GB, free: 4.301 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.607e-05/0.6089, allocations: 13 kB / 1.431 GB, free: 4.289 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.6089, allocations: 47.56 kB / 1.431 GB, free: 4.234 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/0.6089, allocations: 4 kB / 1.431 GB, free: 4.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.025/0.6339, allocations: 9.093 MB / 1.44 GB, free: 11.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.634, allocations: 68.7 kB / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.6368, allocations: 1.401 MB / 1.442 GB, free: 9.586 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.637, allocations: 45.7 kB / 1.442 GB, free: 9.535 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.6385, allocations: 1.734 MB / 1.443 GB, free: 7.785 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/0.6392, allocations: 487.8 kB / 1.444 GB, free: 7.305 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007532/0.64, allocations: 331.4 kB / 1.444 GB, free: 6.973 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6401, allocations: 301.1 kB / 1.444 GB, free: 6.676 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.6418, allocations: 0.9135 MB / 1.445 GB, free: 5.762 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.6439, allocations: 1.463 MB / 1.447 GB, free: 4.062 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.6477, allocations: 2.55 MB / 1.449 GB, free: 1.273 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/0.6478, allocations: 11.94 kB / 1.449 GB, free: 1.262 MB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006663/0.6544, allocations: 3.256 MB / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.6545, allocations: 19.94 kB / 1.452 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.6545, allocations: 20.16 kB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.657, allocations: 0.7373 MB / 1.453 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.6587, allocations: 383.4 kB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.6771, allocations: 15.82 MB / 1.469 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.6789, allocations: 99.91 kB / 1.469 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.679, allocations: 79.94 kB / 1.469 GB, free: 11.87 MB / 1.17 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.002374/0.6814, allocations: 1.31 MB / 1.47 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.6818, allocations: 198.8 kB / 1.471 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/0.6873, allocations: 2.761 MB / 1.473 GB, free: 7.543 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6873, allocations: 16 kB / 1.473 GB, free: 7.527 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/0.6874, allocations: 7.938 kB / 1.473 GB, free: 7.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.6874, allocations: 7.969 kB / 1.473 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.6992, allocations: 5.333 MB / 1.479 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6992, allocations: 4 kB / 1.479 GB, free: 2.035 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.7004, allocations: 231.7 kB / 1.479 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.7027, allocations: 0.6637 MB / 1.479 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.7028, allocations: 35.98 kB / 1.48 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.7206, allocations: 15.58 MB / 1.495 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.7206, allocations: 8 kB / 1.495 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007009/0.7276, allocations: 3.985 MB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.7289, allocations: 366.7 kB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.7294, allocations: 43.88 kB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7305, allocations: 75.91 kB / 1.499 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/0.7309, allocations: 120.7 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.731, allocations: 44 kB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001796/0.7328, allocations: 0.9088 MB / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7328, allocations: 0 / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003002/0.7358, allocations: 0.6836 MB / 1.501 GB, free: 10.25 MB / 1.201 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.0003611/0.7361, allocations: 151.2 kB / 1.501 GB, free: 10.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006177/0.7423, allocations: 3.381 MB / 1.504 GB, free: 6.602 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.7423, allocations: 0.875 kB / 1.504 GB, free: 6.602 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/0.7461, allocations: 2.24 MB / 1.506 GB, free: 4.246 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.7496, allocations: 0.6278 MB / 1.507 GB, free: 3.637 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7631, allocations: 6.636 MB / 1.514 GB, free: 12.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003944/0.7671, allocations: 2.12 MB / 1.516 GB, free: 10.75 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001754/0.7688, allocations: 472.4 kB / 1.516 GB, free: 10.29 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.7692, allocations: 107.4 kB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.7693, allocations: 4 kB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of Templates: time 0.07/0.8393, allocations: 37.85 MB / 1.553 GB, free: 5.066 MB / 1.248 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.508234575390816]