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.001699/0.001699, allocations: 104.3 kB / 19.7 MB, free: 2.129 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.00227/0.00227, allocations: 211.2 kB / 22.99 MB, free: 4.949 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002031/0.002031, allocations: 63.12 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3816, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008219/0.3898, allocations: 5.364 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00505/0.3948, allocations: 2.631 MB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.3953, allocations: 31.69 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3973, allocations: 0.6885 MB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3984, allocations: 425.7 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3994, allocations: 417.4 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.4006, allocations: 0.9672 MB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.4012, allocations: 386.4 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.4018, allocations: 390.5 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.4024, allocations: 426.4 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.4025, allocations: 48 kB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006697/0.4032, allocations: 331.2 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.4034, allocations: 259.2 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.4038, allocations: 282.7 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.405, allocations: 0.9883 MB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.405, allocations: 4 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.405, allocations: 0 / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.405, allocations: 4 kB / 1.34 GB, free: 3.375 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.001835/0.4069, allocations: 0.9131 MB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4069, allocations: 12.03 kB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.4084, allocations: 200.3 kB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.4093, allocations: 460.9 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.4093, allocations: 45.36 kB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.4095, allocations: 56.48 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4109, allocations: 0.9824 MB / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.4109, allocations: 11.98 kB / 1.343 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.411, allocations: 19.98 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/0.4112, allocations: 64.95 kB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.4121, allocations: 0.5735 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.4166, allocations: 3.499 MB / 1.347 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.4171, allocations: 271.3 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.4174, allocations: 209.3 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4174, allocations: 4.281 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.4175, allocations: 46.77 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 3.897e-06/0.4175, allocations: 3.984 kB / 1.348 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005927/0.4234, allocations: 2.322 MB / 1.35 GB, free: 9.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4235, allocations: 67.34 kB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.424, allocations: 429.7 kB / 1.35 GB, free: 8.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.424, allocations: 29.7 kB / 1.35 GB, free: 8.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.4243, allocations: 364.3 kB / 1.351 GB, free: 8.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4244, allocations: 146.7 kB / 1.351 GB, free: 8.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.4246, allocations: 106.2 kB / 1.351 GB, free: 8.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4248, allocations: 366.7 kB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4252, allocations: 241.2 kB / 1.351 GB, free: 7.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.4257, allocations: 403.4 kB / 1.352 GB, free: 7.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.4267, allocations: 0.6778 MB / 1.352 GB, free: 6.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4267, allocations: 4 kB / 1.352 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001861/0.4285, allocations: 0.9135 MB / 1.353 GB, free: 5.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4286, allocations: 8 kB / 1.353 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4286, allocations: 8 kB / 1.353 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008746/0.4295, allocations: 226.8 kB / 1.354 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.43, allocations: 119.8 kB / 1.354 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.4358, allocations: 4.93 MB / 1.359 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.4363, allocations: 35.97 kB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4363, allocations: 20 kB / 1.359 GB, free: 15.76 MB / 1.061 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.0003811/0.4367, allocations: 234 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4368, allocations: 55.67 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.4384, allocations: 0.7616 MB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4384, allocations: 8 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4384, allocations: 4 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4384, allocations: 7.922 kB / 1.36 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.4411, allocations: 1.323 MB / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4411, allocations: 0 / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4415, allocations: 59.95 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007808/0.4423, allocations: 222.5 kB / 1.361 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.4423, allocations: 8 kB / 1.361 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.4478, allocations: 4.867 MB / 1.366 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4478, allocations: 4.031 kB / 1.366 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.4497, allocations: 1.135 MB / 1.367 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.45, allocations: 87.66 kB / 1.367 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.4501, allocations: 8 kB / 1.367 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.4504, allocations: 28.16 kB / 1.367 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4505, allocations: 35.94 kB / 1.367 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.4505, allocations: 16 kB / 1.367 GB, free: 6.453 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003442/0.4509, allocations: 298.8 kB / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4509, allocations: 4 kB / 1.368 GB, free: 6.156 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007104/0.4516, allocations: 164 kB / 1.368 GB, free: 5.996 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.0001793/0.4518, allocations: 115.2 kB / 1.368 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.4535, allocations: 0.9654 MB / 1.369 GB, free: 4.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4535, allocations: 4.125 kB / 1.369 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.4545, allocations: 0.6679 MB / 1.369 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.4554, allocations: 173.9 kB / 1.37 GB, free: 3.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.4575, allocations: 1.274 MB / 1.371 GB, free: 2.672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.4579, allocations: 358.1 kB / 1.371 GB, free: 2.297 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.4582, allocations: 116.8 kB / 1.371 GB, free: 2.184 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4583, allocations: 35.44 kB / 1.371 GB, free: 2.148 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/0.4583, allocations: 0 / 1.371 GB, free: 2.148 MB / 1.061 GB Notification: Performance of Templates: time 0.01858/0.4769, allocations: 10.01 MB / 1.381 GB, free: 8.34 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 -s cvode -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: 9.28986728801101]