Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001452/0.001452, 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.001986/0.001986, allocations: 214.4 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.339/3.339, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 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.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_12_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_12_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.002164/0.002164, allocations: 70.98 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3734, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009232/0.3827, allocations: 5.358 MB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005599/0.3883, allocations: 2.635 MB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.389, allocations: 35.69 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.3912, allocations: 0.6807 MB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.3926, allocations: 425.7 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3939, allocations: 415 kB / 1.336 GB, free: 8.332 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3954, allocations: 0.9555 MB / 1.337 GB, free: 7.371 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006241/0.396, allocations: 378.5 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.3966, allocations: 394.5 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.3972, allocations: 406.3 kB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.3973, allocations: 48 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.3981, allocations: 331.2 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.3983, allocations: 255.2 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.3987, allocations: 290.6 kB / 1.339 GB, free: 5.297 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.4, allocations: 0.9844 MB / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4, allocations: 0 / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4, allocations: 0 / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4, allocations: 4 kB / 1.34 GB, free: 4.305 MB / 1.029 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.001796/0.4018, allocations: 0.917 MB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4018, allocations: 12.03 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.4032, allocations: 200.2 kB / 1.341 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.4042, allocations: 468.9 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.4042, allocations: 41.36 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.4044, allocations: 52.52 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.4058, allocations: 0.9863 MB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.4058, allocations: 4 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.4059, allocations: 19.98 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.4061, allocations: 68.95 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.407, allocations: 0.5774 MB / 1.343 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.4116, allocations: 3.484 MB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.4122, allocations: 279.2 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.4125, allocations: 209.3 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.4125, allocations: 4.281 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.4126, allocations: 46.78 kB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.4126, allocations: 0 / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005931/0.4185, allocations: 2.33 MB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4186, allocations: 67.28 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.4191, allocations: 425.7 kB / 1.349 GB, free: 9.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.4192, allocations: 33.7 kB / 1.349 GB, free: 9.719 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.4194, allocations: 364.3 kB / 1.35 GB, free: 9.355 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4196, allocations: 142.8 kB / 1.35 GB, free: 9.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4197, allocations: 106.2 kB / 1.35 GB, free: 9.105 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4199, allocations: 366.7 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.4203, allocations: 237.2 kB / 1.351 GB, free: 8.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.4209, allocations: 413 kB / 1.351 GB, free: 8.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.4218, allocations: 0.6778 MB / 1.352 GB, free: 7.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4218, allocations: 11.94 kB / 1.352 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001786/0.4236, allocations: 0.9054 MB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4237, allocations: 8 kB / 1.353 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4237, allocations: 11.98 kB / 1.353 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.4245, allocations: 223 kB / 1.353 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.425, allocations: 119.8 kB / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.4307, allocations: 4.934 MB / 1.358 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.4312, allocations: 32.09 kB / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.4313, allocations: 24 kB / 1.358 GB, free: 0.6836 MB / 1.045 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.0003655/0.4317, allocations: 223.6 kB / 1.358 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4318, allocations: 59.66 kB / 1.358 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.4334, allocations: 0.7617 MB / 1.359 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4334, allocations: 4 kB / 1.359 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4334, allocations: 4.141 kB / 1.359 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4334, allocations: 11.91 kB / 1.359 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.436, allocations: 1.319 MB / 1.36 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.436, allocations: 0 / 1.36 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4363, allocations: 71.88 kB / 1.36 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.437, allocations: 206.5 kB / 1.36 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4371, allocations: 8 kB / 1.36 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005363/0.4424, allocations: 4.875 MB / 1.365 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4424, allocations: 4.031 kB / 1.365 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.4444, allocations: 1.139 MB / 1.366 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.4447, allocations: 87.66 kB / 1.366 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.4447, allocations: 8 kB / 1.366 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4451, allocations: 27.97 kB / 1.366 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4452, allocations: 39.92 kB / 1.366 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.4452, allocations: 12 kB / 1.366 GB, free: 7.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003534/0.4455, allocations: 298.9 kB / 1.367 GB, free: 7.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4455, allocations: 0 / 1.367 GB, free: 7.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007139/0.4463, allocations: 164 kB / 1.367 GB, free: 6.926 MB / 1.061 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.0001876/0.4464, allocations: 115.2 kB / 1.367 GB, free: 6.801 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.4482, allocations: 0.9693 MB / 1.368 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4482, allocations: 0 / 1.368 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4492, allocations: 0.668 MB / 1.369 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.4501, allocations: 182.9 kB / 1.369 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4525, allocations: 1.342 MB / 1.37 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.4529, allocations: 350.1 kB / 1.37 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.453, allocations: 39.44 kB / 1.37 GB, free: 3.113 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.453, allocations: 4 kB / 1.37 GB, free: 3.109 MB / 1.061 GB Notification: Performance of Templates: time 0.02073/0.4738, allocations: 15.02 MB / 1.385 GB, free: 4.129 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.253235584124923]