Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001873/0.001873, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002384/0.002384, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.849/2.849, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_11_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_11_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.002431/0.002431, allocations: 69.2 kB / 1.118 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4001, allocations: 169.9 MB / 1.284 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.05174/0.4518, allocations: 25.58 MB / 1.309 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.4702, allocations: 8.091 MB / 1.317 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/0.4737, allocations: 150.9 kB / 1.317 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008655/0.4823, allocations: 2.781 MB / 1.32 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.4884, allocations: 1.664 MB / 1.321 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.494, allocations: 1.683 MB / 1.323 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009686/0.5037, allocations: 6.147 MB / 1.329 GB, free: 5.492 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006337/0.5101, allocations: 3.73 MB / 1.332 GB, free: 1.676 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.5157, allocations: 2.676 MB / 1.335 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006117/0.5218, allocations: 2.826 MB / 1.338 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.5232, allocations: 0.5078 MB / 1.338 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.5265, allocations: 1.201 MB / 1.339 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002732/0.5293, allocations: 2.1 MB / 1.342 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.5329, allocations: 1.93 MB / 1.343 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.5446, allocations: 8.114 MB / 1.351 GB, free: 14.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5446, allocations: 0 / 1.351 GB, free: 14.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5446, allocations: 3.938 kB / 1.351 GB, free: 14.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002813/0.5449, allocations: 0 / 1.351 GB, free: 14.26 MB / 1.061 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.01198/0.5569, allocations: 4.262 MB / 1.356 GB, free: 9.945 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.5569, allocations: 12.03 kB / 1.356 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.5617, allocations: 0.8179 MB / 1.356 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/0.5689, allocations: 2.526 MB / 1.359 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.5692, allocations: 275.6 kB / 1.359 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009747/0.5702, allocations: 380.6 kB / 1.359 GB, free: 5.879 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.5841, allocations: 6.44 MB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.5843, allocations: 23.77 kB / 1.366 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008037/0.5851, allocations: 160 kB / 1.366 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007628/0.5858, allocations: 286.9 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.5965, allocations: 4.512 MB / 1.371 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/0.631, allocations: 17.41 MB / 1.388 GB, free: 8.176 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.6331, allocations: 1.053 MB / 1.389 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6348, allocations: 0.9525 MB / 1.39 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.635, allocations: 13 kB / 1.39 GB, free: 6.148 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.635, allocations: 43.56 kB / 1.39 GB, free: 6.094 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 6.522e-06/0.635, allocations: 3.984 kB / 1.39 GB, free: 6.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02449/0.6595, allocations: 9.088 MB / 1.398 GB, free: 12.95 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.6596, allocations: 64.72 kB / 1.399 GB, free: 12.87 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.6624, allocations: 1.409 MB / 1.4 GB, free: 11.45 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.6625, allocations: 49.7 kB / 1.4 GB, free: 11.4 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.6642, allocations: 1.73 MB / 1.402 GB, free: 9.652 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/0.6648, allocations: 491.8 kB / 1.402 GB, free: 9.168 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.6655, allocations: 331.4 kB / 1.402 GB, free: 8.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6657, allocations: 305.1 kB / 1.403 GB, free: 8.535 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.6672, allocations: 0.9096 MB / 1.404 GB, free: 7.625 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.6694, allocations: 1.467 MB / 1.405 GB, free: 5.918 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.6734, allocations: 2.546 MB / 1.408 GB, free: 3.133 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-05/0.6735, allocations: 8 kB / 1.408 GB, free: 3.125 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006956/0.6804, allocations: 3.255 MB / 1.411 GB, free: 15.83 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.6805, allocations: 18.12 kB / 1.411 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/0.6805, allocations: 20 kB / 1.411 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.683, allocations: 0.7419 MB / 1.411 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.6847, allocations: 387.3 kB / 1.412 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.7035, allocations: 15.81 MB / 1.427 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7052, allocations: 104 kB / 1.427 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/0.7056, allocations: 79.98 kB / 1.427 GB, free: 13.73 MB / 1.139 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.002904/0.7085, allocations: 1.309 MB / 1.429 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/0.7091, allocations: 202.8 kB / 1.429 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.715, allocations: 2.753 MB / 1.432 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.715, allocations: 12 kB / 1.432 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.854e-05/0.715, allocations: 12 kB / 1.432 GB, free: 9.387 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.715, allocations: 11.91 kB / 1.432 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.7277, allocations: 5.326 MB / 1.437 GB, free: 3.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.7277, allocations: 8.219 kB / 1.437 GB, free: 3.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.7289, allocations: 239.6 kB / 1.437 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.7311, allocations: 0.6632 MB / 1.438 GB, free: 2.977 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.7312, allocations: 32 kB / 1.438 GB, free: 2.945 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/0.7494, allocations: 15.57 MB / 1.453 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.7494, allocations: 11.88 kB / 1.453 GB, free: 2.441 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0071/0.7565, allocations: 3.981 MB / 1.457 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.7578, allocations: 374.6 kB / 1.457 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.7581, allocations: 35.98 kB / 1.457 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.759, allocations: 88.02 kB / 1.457 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.7593, allocations: 120.6 kB / 1.457 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/0.7594, allocations: 40 kB / 1.457 GB, free: 13.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001445/0.7609, allocations: 0.9048 MB / 1.458 GB, free: 12.81 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7609, allocations: 0 / 1.458 GB, free: 12.81 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002841/0.7637, allocations: 0.6797 MB / 1.459 GB, free: 12.13 MB / 1.17 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.0003141/0.764, allocations: 155 kB / 1.459 GB, free: 11.97 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005955/0.77, allocations: 3.389 MB / 1.463 GB, free: 8.461 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.77, allocations: 0 / 1.463 GB, free: 8.461 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.7736, allocations: 2.245 MB / 1.465 GB, free: 6.102 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.7767, allocations: 0.6334 MB / 1.465 GB, free: 5.48 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7901, allocations: 7.133 MB / 1.472 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/0.7932, allocations: 2.163 MB / 1.474 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.7939, allocations: 123.4 kB / 1.475 GB, free: 11.93 MB / 1.186 GB Notification: Performance of SimCode: time 1.483e-06/0.7939, allocations: 0 / 1.475 GB, free: 11.93 MB / 1.186 GB Notification: Performance of Templates: time 0.922/1.716, allocations: 210.7 MB / 1.68 GB, free: 174.5 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.191626683343202]