Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001867/0.001867, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002277/0.002277, allocations: 222.3 kB / 23 MB, free: 4.91 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.544/1.544, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.421/3.421, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.002136/0.002136, allocations: 74.75 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008777/0.3781, allocations: 5.356 MB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005158/0.3833, allocations: 2.627 MB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.3838, allocations: 35.69 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.3859, allocations: 0.6807 MB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.3871, allocations: 417.8 kB / 1.374 GB, free: 4.445 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3882, allocations: 420.8 kB / 1.374 GB, free: 4.035 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3894, allocations: 0.9555 MB / 1.375 GB, free: 3.074 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.39, allocations: 386.4 kB / 1.375 GB, free: 2.688 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.3906, allocations: 394.5 kB / 1.376 GB, free: 2.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.3912, allocations: 398.4 kB / 1.376 GB, free: 1.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.817e-05/0.3913, allocations: 51.94 kB / 1.376 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.3919, allocations: 327.3 kB / 1.376 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.3922, allocations: 255.2 kB / 1.377 GB, free: 1.289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.3925, allocations: 290.7 kB / 1.377 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3936, allocations: 0.9884 MB / 1.378 GB, free: 12 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3937, allocations: 0 / 1.378 GB, free: 12 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3937, allocations: 0 / 1.378 GB, free: 12 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3937, allocations: 3.938 kB / 1.378 GB, free: 8 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001681/0.3953, allocations: 0.917 MB / 1.379 GB, free: 15.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3954, allocations: 8.031 kB / 1.379 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3968, allocations: 208.2 kB / 1.379 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.3977, allocations: 464.9 kB / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.3977, allocations: 41.36 kB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.3979, allocations: 56.53 kB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3992, allocations: 0.9823 MB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3992, allocations: 4 kB / 1.38 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.3993, allocations: 27.98 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.3995, allocations: 64.89 kB / 1.381 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.4004, allocations: 0.5735 MB / 1.381 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.4048, allocations: 3.496 MB / 1.384 GB, free: 8.883 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.4053, allocations: 271.3 kB / 1.385 GB, free: 8.609 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.4056, allocations: 213.3 kB / 1.385 GB, free: 8.398 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4056, allocations: 8.266 kB / 1.385 GB, free: 8.391 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.4057, allocations: 34.84 kB / 1.385 GB, free: 8.348 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.4057, allocations: 0 / 1.385 GB, free: 8.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.005781/0.4114, allocations: 2.33 MB / 1.387 GB, free: 5.965 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4115, allocations: 59.41 kB / 1.387 GB, free: 5.895 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.412, allocations: 429.7 kB / 1.388 GB, free: 5.469 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.4121, allocations: 37.64 kB / 1.388 GB, free: 5.426 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.4123, allocations: 356.4 kB / 1.388 GB, free: 5.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.4125, allocations: 154.7 kB / 1.388 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.4127, allocations: 102.3 kB / 1.388 GB, free: 4.812 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4128, allocations: 362.7 kB / 1.389 GB, free: 4.449 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.4132, allocations: 241.2 kB / 1.389 GB, free: 4.215 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.4138, allocations: 403.4 kB / 1.389 GB, free: 3.742 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.4147, allocations: 0.6778 MB / 1.39 GB, free: 2.992 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4147, allocations: 3.938 kB / 1.39 GB, free: 2.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001793/0.4165, allocations: 0.9136 MB / 1.391 GB, free: 2.059 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4165, allocations: 8 kB / 1.391 GB, free: 2.051 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4166, allocations: 4 kB / 1.391 GB, free: 2.047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000818/0.4174, allocations: 230.9 kB / 1.391 GB, free: 1.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.4179, allocations: 115.8 kB / 1.391 GB, free: 1.699 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.4235, allocations: 4.926 MB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.424, allocations: 40.09 kB / 1.396 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.424, allocations: 24 kB / 1.396 GB, free: 12.4 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003555/0.4244, allocations: 225.7 kB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4245, allocations: 55.67 kB / 1.396 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.4261, allocations: 0.7692 MB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4261, allocations: 4 kB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4261, allocations: 7.938 kB / 1.397 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4261, allocations: 7.922 kB / 1.397 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.4287, allocations: 1.323 MB / 1.398 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4287, allocations: 4 kB / 1.398 GB, free: 9.918 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4291, allocations: 63.94 kB / 1.398 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007234/0.4298, allocations: 214.5 kB / 1.399 GB, free: 9.637 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.4298, allocations: 12 kB / 1.399 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.4351, allocations: 4.864 MB / 1.403 GB, free: 4.453 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4351, allocations: 0 / 1.403 GB, free: 4.453 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.4371, allocations: 1.135 MB / 1.405 GB, free: 3.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.4374, allocations: 91.66 kB / 1.405 GB, free: 3.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.4375, allocations: 8 kB / 1.405 GB, free: 3.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.4378, allocations: 27.97 kB / 1.405 GB, free: 3.145 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.4379, allocations: 35.88 kB / 1.405 GB, free: 3.109 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.4379, allocations: 16 kB / 1.405 GB, free: 3.094 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003526/0.4383, allocations: 294.8 kB / 1.405 GB, free: 2.805 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4383, allocations: 0 / 1.405 GB, free: 2.805 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000703/0.439, allocations: 164 kB / 1.405 GB, free: 2.645 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.000171/0.4392, allocations: 115.2 kB / 1.405 GB, free: 2.52 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.4409, allocations: 0.9776 MB / 1.406 GB, free: 1.504 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.4409, allocations: 0 / 1.406 GB, free: 1.504 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.442, allocations: 0.6642 MB / 1.407 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.4428, allocations: 179 kB / 1.407 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4451, allocations: 1.329 MB / 1.408 GB, free: 15.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4455, allocations: 354.1 kB / 1.409 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4457, allocations: 43.44 kB / 1.409 GB, free: 14.84 MB / 1.107 GB Notification: Performance of SimCode: time 8.11e-07/0.4457, allocations: 0 / 1.409 GB, free: 14.84 MB / 1.107 GB Notification: Performance of Templates: time 0.02084/0.4665, allocations: 15.04 MB / 1.423 GB, free: 15.84 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 14.05476317787543]