Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001957/0.001957, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002525/0.002525, allocations: 191.3 kB / 22.23 MB, free: 5.137 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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8234, allocations: 168.8 MB / 1.274 GB, free: 4.234 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007888/0.8313, allocations: 5.662 MB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.004754/0.836, allocations: 2.708 MB / 1.283 GB, free: 11.83 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.8364, allocations: 31.75 kB / 1.283 GB, free: 11.8 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.001969/0.8384, allocations: 0.7197 MB / 1.283 GB, free: 11.08 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0009881/0.8394, allocations: 421.7 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.8404, allocations: 404.9 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.001117/0.8415, allocations: 0.9516 MB / 1.285 GB, free: 9.316 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.842, allocations: 333.3 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.8425, allocations: 390.5 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005554/0.8431, allocations: 426.4 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.8432, allocations: 48 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.8438, allocations: 371.2 kB / 1.286 GB, free: 7.777 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.8441, allocations: 259.2 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.8444, allocations: 346.2 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.00114/0.8456, allocations: 0.9806 MB / 1.288 GB, free: 6.199 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8456, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.774e-06/0.8456, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.467e-05/0.8456, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 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.001594/0.8472, allocations: 0.9169 MB / 1.289 GB, free: 5.25 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8472, allocations: 8.031 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.8486, allocations: 200.3 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.8494, allocations: 455.7 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.8494, allocations: 33.38 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.8496, allocations: 60.53 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.8508, allocations: 0.8318 MB / 1.29 GB, free: 3.566 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.8509, allocations: 7.938 kB / 1.29 GB, free: 3.559 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.8509, allocations: 16 kB / 1.29 GB, free: 3.543 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.8511, allocations: 68.95 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.852, allocations: 0.5697 MB / 1.291 GB, free: 2.906 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/0.8566, allocations: 4.505 MB / 1.295 GB, free: 14.07 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.8571, allocations: 275.3 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.8574, allocations: 205.3 kB / 1.296 GB, free: 13.59 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.8574, allocations: 4.281 kB / 1.296 GB, free: 13.58 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.8574, allocations: 46.77 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB
Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.8574, allocations: 0 / 1.296 GB, free: 13.53 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=40): time 0.005504/0.8629, allocations: 2.326 MB / 1.298 GB, free: 11.15 MB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.863, allocations: 55.41 kB / 1.298 GB, free: 11.08 MB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.8635, allocations: 465.9 kB / 1.299 GB, free: 10.62 MB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.8635, allocations: 33.7 kB / 1.299 GB, free: 10.58 MB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.8638, allocations: 352.5 kB / 1.299 GB, free: 10.23 MB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.8639, allocations: 146.7 kB / 1.299 GB, free: 10.09 MB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.8641, allocations: 106.3 kB / 1.299 GB, free: 9.973 MB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001732/0.8643, allocations: 362.8 kB / 1.3 GB, free: 9.609 MB / 0.9981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.8646, allocations: 237.2 kB / 1.3 GB, free: 9.379 MB / 0.9981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.8652, allocations: 411.3 kB / 1.3 GB, free: 8.898 MB / 0.9981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.8661, allocations: 0.674 MB / 1.301 GB, free: 8.152 MB / 0.9981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8661, allocations: 0 / 1.301 GB, free: 8.152 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001706/0.8678, allocations: 0.921 MB / 1.302 GB, free: 7.215 MB / 0.9981 GB
Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.8678, allocations: 11.94 kB / 1.302 GB, free: 7.203 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8678, allocations: 4 kB / 1.302 GB, free: 7.199 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.8686, allocations: 234.9 kB / 1.302 GB, free: 6.961 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.8691, allocations: 115.8 kB / 1.302 GB, free: 6.848 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.8745, allocations: 5.038 MB / 1.307 GB, free: 1.457 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.8749, allocations: 28.03 kB / 1.307 GB, free: 1.43 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.875, allocations: 28 kB / 1.307 GB, free: 1.402 MB / 0.9981 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.0003467/0.8753, allocations: 225.6 kB / 1.307 GB, free: 1.172 MB / 0.9981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8754, allocations: 59.61 kB / 1.307 GB, free: 1.113 MB / 0.9981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.877, allocations: 0.762 MB / 1.308 GB, free: 340 kB / 0.9981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.877, allocations: 4 kB / 1.308 GB, free: 336 kB / 0.9981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.877, allocations: 0 / 1.308 GB, free: 336 kB / 0.9981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.877, allocations: 4 kB / 1.308 GB, free: 332 kB / 0.9981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.8795, allocations: 1.465 MB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8795, allocations: 0 / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.8799, allocations: 75.88 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000693/0.8806, allocations: 198.6 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.8807, allocations: 12 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.8858, allocations: 4.975 MB / 1.315 GB, free: 9.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8858, allocations: 4.031 kB / 1.315 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.8876, allocations: 1.116 MB / 1.316 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.8879, allocations: 99.61 kB / 1.316 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.8879, allocations: 11.94 kB / 1.316 GB, free: 7.895 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.8883, allocations: 24.16 kB / 1.316 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.8884, allocations: 43.88 kB / 1.316 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.8884, allocations: 12.06 kB / 1.316 GB, free: 7.816 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003797/0.8888, allocations: 314.9 kB / 1.316 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.8888, allocations: 0 / 1.316 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0006803/0.8895, allocations: 168 kB / 1.317 GB, free: 7.348 MB / 1.014 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.0001621/0.8896, allocations: 111.5 kB / 1.317 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001647/0.8913, allocations: 0.9805 MB / 1.318 GB, free: 6.211 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8913, allocations: 0 / 1.318 GB, free: 6.211 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.8922, allocations: 0.6656 MB / 1.318 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.8931, allocations: 189.2 kB / 1.318 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.8953, allocations: 1.259 MB / 1.32 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.8959, allocations: 0.9532 MB / 1.321 GB, free: 3.039 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0003199/0.8962, allocations: 109 kB / 1.321 GB, free: 2.934 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8964, allocations: 43.42 kB / 1.321 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of SimCode: time 5.61e-07/0.8964, allocations: 0 / 1.321 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of Templates: time 0.01766/0.914, allocations: 9.383 MB / 1.33 GB, free: 9.621 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.821964252740145]