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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 192.3 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.883/2.883, allocations: 495.8 MB / 0.783 GB, free: 12.21 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 71.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005889/1.111, allocations: 5.631 MB / 1.312 GB, free: 29.99 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.003902/1.115, allocations: 2.706 MB / 1.315 GB, free: 28.19 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/1.115, allocations: 27.47 kB / 1.315 GB, free: 28.17 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.001635/1.117, allocations: 0.7176 MB / 1.316 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007599/1.118, allocations: 421.6 kB / 1.316 GB, free: 27.5 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008304/1.119, allocations: 404.5 kB / 1.316 GB, free: 27.3 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0007483/1.119, allocations: 0.9554 MB / 1.317 GB, free: 26.86 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/1.12, allocations: 333.6 kB / 1.318 GB, free: 26.71 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/1.12, allocations: 384 kB / 1.318 GB, free: 26.55 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/1.121, allocations: 428.3 kB / 1.318 GB, free: 26.38 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 7.296e-05/1.121, allocations: 47.75 kB / 1.318 GB, free: 26.38 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/1.121, allocations: 331.9 kB / 1.319 GB, free: 26.27 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001932/1.121, allocations: 254.2 kB / 1.319 GB, free: 26.17 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002562/1.122, allocations: 348.7 kB / 1.319 GB, free: 25.96 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008823/1.122, allocations: 0.9714 MB / 1.32 GB, free: 25.63 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.122, allocations: 0 / 1.32 GB, free: 25.63 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.643e-06/1.122, allocations: 0 / 1.32 GB, free: 25.63 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.127e-05/1.122, allocations: 0 / 1.32 GB, free: 25.63 MB / 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.001355/1.124, allocations: 0.9249 MB / 1.321 GB, free: 24.99 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/1.124, allocations: 10.41 kB / 1.321 GB, free: 24.99 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.125, allocations: 195.8 kB / 1.321 GB, free: 24.95 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/1.126, allocations: 457.8 kB / 1.322 GB, free: 24.66 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.126, allocations: 35.22 kB / 1.322 GB, free: 24.64 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.126, allocations: 55.36 kB / 1.322 GB, free: 24.62 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/1.127, allocations: 0.8265 MB / 1.323 GB, free: 24.15 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.127, allocations: 6.562 kB / 1.323 GB, free: 24.15 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/1.127, allocations: 24.44 kB / 1.323 GB, free: 24.13 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/1.127, allocations: 64.12 kB / 1.323 GB, free: 24.13 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/1.128, allocations: 0.5721 MB / 1.323 GB, free: 23.93 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/1.132, allocations: 4.504 MB / 1.328 GB, free: 20.07 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/1.132, allocations: 273.8 kB / 1.328 GB, free: 19.96 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/1.132, allocations: 210.7 kB / 1.328 GB, free: 19.88 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/1.132, allocations: 7 kB / 1.328 GB, free: 19.87 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.132, allocations: 33.47 kB / 1.328 GB, free: 19.83 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=33): time 2.104e-06/1.132, allocations: 0 / 1.328 GB, free: 19.83 MB / 1.061 GB
Notification: Performance of matching and sorting (n=40): time 0.006062/1.138, allocations: 2.345 MB / 1.331 GB, free: 18.8 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/1.138, allocations: 56.59 kB / 1.331 GB, free: 18.74 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/1.139, allocations: 460 kB / 1.331 GB, free: 18.52 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.336e-05/1.139, allocations: 40.39 kB / 1.331 GB, free: 18.47 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.139, allocations: 346.8 kB / 1.331 GB, free: 18.2 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 9.031e-05/1.139, allocations: 154.7 kB / 1.332 GB, free: 18.07 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.139, allocations: 99.8 kB / 1.332 GB, free: 18.02 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 8.238e-05/1.139, allocations: 360.3 kB / 1.332 GB, free: 17.69 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/1.14, allocations: 239.9 kB / 1.332 GB, free: 17.61 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/1.14, allocations: 411.9 kB / 1.333 GB, free: 17.3 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/1.141, allocations: 0.6753 MB / 1.333 GB, free: 16.87 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.141, allocations: 1.625 kB / 1.333 GB, free: 16.87 MB / 1.061 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.002171/1.143, allocations: 0.9189 MB / 1.334 GB, free: 16.48 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.143, allocations: 7 kB / 1.334 GB, free: 16.48 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.143, allocations: 6.562 kB / 1.334 GB, free: 16.48 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/1.144, allocations: 226.5 kB / 1.334 GB, free: 16.41 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/1.145, allocations: 114.5 kB / 1.335 GB, free: 16.39 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/1.15, allocations: 5.038 MB / 1.339 GB, free: 12.11 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/1.15, allocations: 31.19 kB / 1.34 GB, free: 12.1 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/1.15, allocations: 21.88 kB / 1.34 GB, free: 12.09 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.0003626/1.151, allocations: 222.6 kB / 1.34 GB, free: 11.93 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.151, allocations: 64.48 kB / 1.34 GB, free: 11.89 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/1.153, allocations: 0.761 MB / 1.341 GB, free: 11.56 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.153, allocations: 4.75 kB / 1.341 GB, free: 11.56 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.153, allocations: 2.766 kB / 1.341 GB, free: 11.56 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.153, allocations: 2.812 kB / 1.341 GB, free: 11.56 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/1.155, allocations: 1.461 MB / 1.342 GB, free: 10.81 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.155, allocations: 9.156 kB / 1.342 GB, free: 10.8 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/1.156, allocations: 67.23 kB / 1.342 GB, free: 10.8 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007649/1.157, allocations: 202.3 kB / 1.342 GB, free: 10.74 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/1.157, allocations: 13.91 kB / 1.342 GB, free: 10.73 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/1.161, allocations: 4.964 MB / 1.347 GB, free: 6.473 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.161, allocations: 2.453 kB / 1.347 GB, free: 6.473 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.163, allocations: 1.129 MB / 1.348 GB, free: 5.891 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/1.163, allocations: 93.5 kB / 1.348 GB, free: 5.844 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/1.164, allocations: 13.62 kB / 1.348 GB, free: 5.836 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/1.164, allocations: 28.3 kB / 1.348 GB, free: 5.828 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.164, allocations: 41.41 kB / 1.348 GB, free: 5.816 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/1.164, allocations: 13.78 kB / 1.348 GB, free: 5.812 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.000424/1.164, allocations: 308.8 kB / 1.349 GB, free: 5.668 MB / 1.061 GB
Notification: Performance of sort global known variables: time 9e-08/1.164, allocations: 0 / 1.349 GB, free: 5.668 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0009213/1.165, allocations: 170.4 kB / 1.349 GB, free: 5.648 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.0001615/1.166, allocations: 118.3 kB / 1.349 GB, free: 5.547 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.001667/1.167, allocations: 0.9676 MB / 1.35 GB, free: 4.988 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.167, allocations: 0 / 1.35 GB, free: 4.988 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009213/1.168, allocations: 0.676 MB / 1.351 GB, free: 4.523 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/1.169, allocations: 186.5 kB / 1.351 GB, free: 4.453 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/1.171, allocations: 1.267 MB / 1.352 GB, free: 3.727 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.172, allocations: 0.9503 MB / 1.353 GB, free: 2.996 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0003653/1.172, allocations: 108.2 kB / 1.353 GB, free: 2.98 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.172, allocations: 37.22 kB / 1.353 GB, free: 2.973 MB / 1.061 GB
Notification: Performance of SimCode: time 1.824e-06/1.172, allocations: 4 kB / 1.353 GB, free: 2.969 MB / 1.061 GB
Notification: Performance of Templates: time 0.02065/1.193, allocations: 9.38 MB / 1.362 GB, free: 2.34 MB / 1.061 GB
"
[Timeout remaining time 299]
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/jenkins/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: 9.603827100247145]