Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001611/0.001611, 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.001768/0.001768, allocations: 216 kB / 22.99 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.713/2.713, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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: 70.86 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01925/0.327, allocations: 13.94 MB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.3441, allocations: 9.96 MB / 1.307 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.3456, allocations: 91.19 kB / 1.307 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004835/0.3504, allocations: 1.686 MB / 1.309 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.3561, allocations: 1.853 MB / 1.311 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.3582, allocations: 0.7506 MB / 1.311 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.3624, allocations: 2.765 MB / 1.314 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.3643, allocations: 1.196 MB / 1.315 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.367, allocations: 1.719 MB / 1.317 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.3687, allocations: 1.046 MB / 1.318 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.3689, allocations: 156 kB / 1.318 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3704, allocations: 0.7174 MB / 1.319 GB, free: 7.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006435/0.3711, allocations: 0.6152 MB / 1.319 GB, free: 7.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008953/0.372, allocations: 0.7659 MB / 1.32 GB, free: 6.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.3753, allocations: 2.763 MB / 1.323 GB, free: 3.797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3753, allocations: 0 / 1.323 GB, free: 3.797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3753, allocations: 0 / 1.323 GB, free: 3.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.3754, allocations: 4 kB / 1.323 GB, free: 3.793 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004035/0.3794, allocations: 2.147 MB / 1.325 GB, free: 1.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3794, allocations: 8.031 kB / 1.325 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.3914, allocations: 2.117 MB / 1.327 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.3942, allocations: 1.189 MB / 1.328 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.3943, allocations: 94.69 kB / 1.328 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.3946, allocations: 116.1 kB / 1.328 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006304/0.4009, allocations: 2.873 MB / 1.331 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.4009, allocations: 15.88 kB / 1.331 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.4011, allocations: 55.98 kB / 1.331 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007057/0.4018, allocations: 194.1 kB / 1.331 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008125/0.4099, allocations: 2.783 MB / 1.334 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.4249, allocations: 8.131 MB / 1.342 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.4319, allocations: 2.179 MB / 1.344 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.4353, allocations: 1.199 MB / 1.345 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.819e-05/0.4354, allocations: 9 kB / 1.345 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.4354, allocations: 51.48 kB / 1.345 GB, free: 12.15 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.996e-06/0.4354, allocations: 0 / 1.345 GB, free: 12.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06169/0.4971, allocations: 15.96 MB / 1.361 GB, free: 12.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.4972, allocations: 68.72 kB / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4987, allocations: 1.035 MB / 1.362 GB, free: 11.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.4989, allocations: 49.7 kB / 1.362 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.4995, allocations: 0.7674 MB / 1.363 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/0.5001, allocations: 0.5383 MB / 1.363 GB, free: 9.652 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/0.5007, allocations: 291.5 kB / 1.364 GB, free: 9.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5009, allocations: 305.1 kB / 1.364 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/0.5048, allocations: 1.51 MB / 1.366 GB, free: 7.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/0.5088, allocations: 1.78 MB / 1.367 GB, free: 5.672 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008009/0.5168, allocations: 3.362 MB / 1.371 GB, free: 2.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.5168, allocations: 4 kB / 1.371 GB, free: 2.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01429/0.5311, allocations: 5.204 MB / 1.376 GB, free: 12.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.5312, allocations: 12.16 kB / 1.376 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.5312, allocations: 11.94 kB / 1.376 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/0.5381, allocations: 1.874 MB / 1.377 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.5401, allocations: 415.3 kB / 1.378 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/0.5722, allocations: 22.85 MB / 1.4 GB, free: 2.977 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.5749, allocations: 307.5 kB / 1.4 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.575, allocations: 71.97 kB / 1.401 GB, free: 2.605 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009782/0.576, allocations: 461.6 kB / 1.401 GB, free: 2.145 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.5763, allocations: 167 kB / 1.401 GB, free: 1.98 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.5905, allocations: 5.248 MB / 1.406 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.5905, allocations: 16 kB / 1.406 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.5906, allocations: 16 kB / 1.406 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.5906, allocations: 11.97 kB / 1.406 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.6077, allocations: 6.802 MB / 1.413 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6077, allocations: 8 kB / 1.413 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.6095, allocations: 347.4 kB / 1.413 GB, free: 5.395 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006145/0.6156, allocations: 1.709 MB / 1.415 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.6157, allocations: 43.91 kB / 1.415 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03076/0.6465, allocations: 22.03 MB / 1.437 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.6465, allocations: 11.88 kB / 1.437 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/0.6598, allocations: 4.805 MB / 1.441 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.6612, allocations: 410.7 kB / 1.442 GB, free: 7.477 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.6614, allocations: 28 kB / 1.442 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.6636, allocations: 319.5 kB / 1.442 GB, free: 7.137 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/0.6641, allocations: 160.9 kB / 1.442 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.6643, allocations: 51.97 kB / 1.442 GB, free: 6.926 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001034/0.6653, allocations: 0.684 MB / 1.443 GB, free: 6.238 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6653, allocations: 0 / 1.443 GB, free: 6.238 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00198/0.6673, allocations: 0.6523 MB / 1.443 GB, free: 5.586 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.6676, allocations: 143.1 kB / 1.444 GB, free: 5.438 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01178/0.6794, allocations: 4.924 MB / 1.448 GB, free: 416 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6794, allocations: 3.938 kB / 1.448 GB, free: 412 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00755/0.6869, allocations: 3.269 MB / 1.452 GB, free: 13.03 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.6893, allocations: 0.5137 MB / 1.452 GB, free: 12.54 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.6992, allocations: 4.473 MB / 1.456 GB, free: 8.008 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.7005, allocations: 0.9721 MB / 1.457 GB, free: 6.996 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/0.7011, allocations: 123.3 kB / 1.458 GB, free: 6.875 MB / 1.154 GB Notification: Performance of SimCode: time 7.81e-07/0.7011, allocations: 0 / 1.458 GB, free: 6.875 MB / 1.154 GB Notification: Performance of Templates: time 0.1009/0.802, allocations: 85.72 MB / 1.541 GB, free: 1.203 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 17.792442842852324]