Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.00156/0.00156, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001751/0.001751, allocations: 212.4 kB / 23.01 MB, free: 4.57 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.151/3.151, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.002037/0.002037, allocations: 79.06 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008703/0.3925, allocations: 5.684 MB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005319/0.3978, allocations: 2.759 MB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.3982, allocations: 27.75 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.4004, allocations: 0.7159 MB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.4015, allocations: 421.7 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.4025, allocations: 391.1 kB / 1.337 GB, free: 7.492 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4037, allocations: 0.9593 MB / 1.338 GB, free: 6.527 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.4043, allocations: 386.5 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.4049, allocations: 382.5 kB / 1.339 GB, free: 5.762 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.4055, allocations: 434.4 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/0.4055, allocations: 48 kB / 1.339 GB, free: 5.289 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.4062, allocations: 379.1 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.4065, allocations: 251.2 kB / 1.34 GB, free: 4.672 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.4068, allocations: 350.2 kB / 1.34 GB, free: 4.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.408, allocations: 0.9728 MB / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.408, allocations: 0 / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.154e-06/0.408, allocations: 0 / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.408, allocations: 0 / 1.341 GB, free: 3.352 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.001741/0.4098, allocations: 0.9209 MB / 1.342 GB, free: 2.398 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4098, allocations: 12.03 kB / 1.342 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.4111, allocations: 192.3 kB / 1.342 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.412, allocations: 463.6 kB / 1.342 GB, free: 1.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.412, allocations: 33.38 kB / 1.342 GB, free: 1.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4122, allocations: 56.53 kB / 1.343 GB, free: 1.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4134, allocations: 0.8356 MB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.4134, allocations: 7.953 kB / 1.343 GB, free: 0.707 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.4135, allocations: 24 kB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.4137, allocations: 60.95 kB / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.4146, allocations: 0.5696 MB / 1.344 GB, free: 56 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.4194, allocations: 4.509 MB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.4199, allocations: 275.3 kB / 1.349 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.4202, allocations: 209.3 kB / 1.349 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4202, allocations: 8.219 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.4202, allocations: 46.78 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.4203, allocations: 0 / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005605/0.4259, allocations: 2.334 MB / 1.351 GB, free: 8.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4259, allocations: 59.34 kB / 1.351 GB, free: 8.203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.4264, allocations: 458 kB / 1.352 GB, free: 7.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.4265, allocations: 33.7 kB / 1.352 GB, free: 7.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.4267, allocations: 348.5 kB / 1.352 GB, free: 7.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4269, allocations: 154.7 kB / 1.352 GB, free: 7.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.427, allocations: 106.2 kB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4272, allocations: 358.8 kB / 1.353 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.4276, allocations: 233.2 kB / 1.353 GB, free: 6.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.4281, allocations: 408 kB / 1.353 GB, free: 6.039 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009113/0.429, allocations: 0.6778 MB / 1.354 GB, free: 5.289 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.429, allocations: 4 kB / 1.354 GB, free: 5.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001696/0.4307, allocations: 0.9132 MB / 1.355 GB, free: 4.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4307, allocations: 8 kB / 1.355 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4307, allocations: 8 kB / 1.355 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.4315, allocations: 223 kB / 1.355 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.432, allocations: 119.7 kB / 1.355 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.4375, allocations: 5.038 MB / 1.36 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.4381, allocations: 32.03 kB / 1.36 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4381, allocations: 24 kB / 1.36 GB, free: 14.56 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.00038/0.4385, allocations: 226.1 kB / 1.36 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4386, allocations: 67.56 kB / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.4401, allocations: 0.762 MB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4401, allocations: 4 kB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4401, allocations: 4 kB / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4401, allocations: 0 / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.4427, allocations: 1.47 MB / 1.363 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4427, allocations: 0 / 1.363 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.4431, allocations: 71.88 kB / 1.363 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006698/0.4437, allocations: 202.8 kB / 1.363 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.4438, allocations: 16 kB / 1.363 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/0.4489, allocations: 4.959 MB / 1.368 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/0.4489, allocations: 8.016 kB / 1.368 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.4508, allocations: 1.124 MB / 1.369 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.4511, allocations: 99.59 kB / 1.369 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.4511, allocations: 11.94 kB / 1.369 GB, free: 5.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4515, allocations: 27.97 kB / 1.369 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.4516, allocations: 36 kB / 1.369 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.4516, allocations: 12 kB / 1.369 GB, free: 4.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003808/0.452, allocations: 310.9 kB / 1.369 GB, free: 4.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.452, allocations: 0 / 1.369 GB, free: 4.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007077/0.4527, allocations: 172 kB / 1.369 GB, free: 4.492 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.0001823/0.4529, allocations: 115.2 kB / 1.37 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.4546, allocations: 0.973 MB / 1.37 GB, free: 3.359 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4547, allocations: 0 / 1.37 GB, free: 3.359 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.4558, allocations: 0.6719 MB / 1.371 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4568, allocations: 192.2 kB / 1.371 GB, free: 2.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.4595, allocations: 1.323 MB / 1.373 GB, free: 1.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.4602, allocations: 0.9492 MB / 1.374 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4604, allocations: 39.44 kB / 1.374 GB, free: 76 kB / 1.061 GB Notification: Performance of SimCode: time 1.332e-06/0.4604, allocations: 7.938 kB / 1.374 GB, free: 68 kB / 1.061 GB Notification: Performance of Templates: time 0.02114/0.4815, allocations: 14.85 MB / 1.388 GB, free: 1.262 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.133447278989479]