Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001362/0.001362, 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.001522/0.001522, allocations: 189 kB / 22.23 MB, free: 5.133 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.446/1.446, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.259/3.259, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.19 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02664/0.3684, allocations: 21.22 MB / 1.337 GB, free: 4.441 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.01282/0.3812, allocations: 6.69 MB / 1.343 GB, free: 13.73 MB / 1.045 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.3832, allocations: 111.2 kB / 1.343 GB, free: 13.62 MB / 1.045 GB
Notification: Performance of NFTyping.typeComponents: time 0.006757/0.3899, allocations: 2.337 MB / 1.346 GB, free: 11.28 MB / 1.045 GB
Notification: Performance of NFTyping.typeBindings: time 0.003824/0.3938, allocations: 1.24 MB / 1.347 GB, free: 10.04 MB / 1.045 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.3974, allocations: 1.316 MB / 1.348 GB, free: 8.719 MB / 1.045 GB
Notification: Performance of NFFlatten.flatten: time 0.006545/0.404, allocations: 4.847 MB / 1.353 GB, free: 3.859 MB / 1.045 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005451/0.4094, allocations: 2.953 MB / 1.356 GB, free: 0.8359 MB / 1.045 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.4131, allocations: 2.142 MB / 1.358 GB, free: 14.68 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.004542/0.4177, allocations: 2.481 MB / 1.36 GB, free: 12.2 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 0.0013/0.419, allocations: 428 kB / 1.361 GB, free: 11.78 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.4218, allocations: 1.022 MB / 1.362 GB, free: 10.76 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.00282/0.4246, allocations: 1.707 MB / 1.363 GB, free: 9.047 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.003869/0.4285, allocations: 1.914 MB / 1.365 GB, free: 7.125 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.009182/0.4377, allocations: 6.538 MB / 1.372 GB, free: 0.5664 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4377, allocations: 0 / 1.372 GB, free: 0.5664 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.4377, allocations: 4 kB / 1.372 GB, free: 0.5625 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 0.0002099/0.4379, allocations: 0 / 1.372 GB, free: 0.5625 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: 798
 * Number of variables: 798
Notification: Performance of Generate backend data structure: time 0.007919/0.4458, allocations: 3.466 MB / 1.375 GB, free: 13.04 MB / 1.076 GB
Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4459, allocations: 15.97 kB / 1.375 GB, free: 13.03 MB / 1.076 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.4492, allocations: 0.6545 MB / 1.376 GB, free: 12.37 MB / 1.076 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/0.4535, allocations: 1.993 MB / 1.378 GB, free: 10.32 MB / 1.076 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.4536, allocations: 218.3 kB / 1.378 GB, free: 10.11 MB / 1.076 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.4542, allocations: 292.3 kB / 1.378 GB, free: 9.824 MB / 1.076 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.008441/0.4626, allocations: 4.886 MB / 1.383 GB, free: 4.738 MB / 1.076 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/0.4627, allocations: 23.81 kB / 1.383 GB, free: 4.715 MB / 1.076 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/0.463, allocations: 128 kB / 1.383 GB, free: 4.59 MB / 1.076 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004192/0.4634, allocations: 229.7 kB / 1.383 GB, free: 4.363 MB / 1.076 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/0.4703, allocations: 3.754 MB / 1.387 GB, free: 0.5977 MB / 1.076 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02575/0.496, allocations: 21.23 MB / 1.408 GB, free: 9.363 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.498, allocations: 1.236 MB / 1.409 GB, free: 8.117 MB / 1.107 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.4995, allocations: 0.9836 MB / 1.41 GB, free: 7.137 MB / 1.107 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.742e-05/0.4996, allocations: 12.98 kB / 1.41 GB, free: 7.125 MB / 1.107 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4996, allocations: 51.5 kB / 1.41 GB, free: 7.066 MB / 1.107 GB
Notification: Performance of pre-optimization done (n=107): time 3.737e-06/0.4996, allocations: 4 kB / 1.41 GB, free: 7.062 MB / 1.107 GB
Notification: Performance of matching and sorting (n=138): time 0.02445/0.5241, allocations: 8.44 MB / 1.418 GB, free: 14.62 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5241, allocations: 64.72 kB / 1.418 GB, free: 14.54 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5259, allocations: 1.13 MB / 1.419 GB, free: 13.41 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.526, allocations: 49.7 kB / 1.419 GB, free: 13.35 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.5271, allocations: 1.339 MB / 1.421 GB, free: 12 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.5276, allocations: 0.4918 MB / 1.421 GB, free: 11.51 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/0.5281, allocations: 291.5 kB / 1.421 GB, free: 11.21 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001267/0.5282, allocations: 313.1 kB / 1.422 GB, free: 10.91 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.5297, allocations: 0.9096 MB / 1.423 GB, free: 9.996 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.5315, allocations: 1.33 MB / 1.424 GB, free: 8.496 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.5349, allocations: 2.426 MB / 1.426 GB, free: 5.898 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.5349, allocations: 4 kB / 1.426 GB, free: 5.895 MB / 1.123 GB
Notification: Performance of matching and sorting (n=203) (initialization): time 0.006644/0.5415, allocations: 3.433 MB / 1.43 GB, free: 2.441 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5415, allocations: 12 kB / 1.43 GB, free: 2.43 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.5416, allocations: 20.06 kB / 1.43 GB, free: 2.41 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/0.545, allocations: 1.173 MB / 1.431 GB, free: 1.23 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.546, allocations: 259.6 kB / 1.431 GB, free: 0.9766 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.5651, allocations: 13.54 MB / 1.444 GB, free: 3.102 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5664, allocations: 91.97 kB / 1.444 GB, free: 3.012 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.5666, allocations: 60 kB / 1.444 GB, free: 2.953 MB / 1.139 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 55
 * 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 (132):
 * Single equations (assignments): 129
 * 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
   {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.5684, allocations: 1.113 MB / 1.445 GB, free: 1.832 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.5687, allocations: 167 kB / 1.446 GB, free: 1.668 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/0.5747, allocations: 3.138 MB / 1.449 GB, free: 14.51 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5747, allocations: 12 kB / 1.449 GB, free: 14.5 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.5747, allocations: 15.94 kB / 1.449 GB, free: 14.48 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5747, allocations: 7.969 kB / 1.449 GB, free: 14.48 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.5857, allocations: 6.185 MB / 1.455 GB, free: 8.16 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5857, allocations: 8.547 kB / 1.455 GB, free: 8.152 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.5864, allocations: 147.8 kB / 1.455 GB, free: 8.008 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.5894, allocations: 1.071 MB / 1.456 GB, free: 6.93 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.947e-05/0.5895, allocations: 28 kB / 1.456 GB, free: 6.902 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.6078, allocations: 13.25 MB / 1.469 GB, free: 9.316 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6078, allocations: 4 kB / 1.469 GB, free: 9.312 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/0.6134, allocations: 3.116 MB / 1.472 GB, free: 6.105 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/0.6144, allocations: 362.8 kB / 1.472 GB, free: 5.75 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.6146, allocations: 39.89 kB / 1.472 GB, free: 5.711 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.6153, allocations: 83.89 kB / 1.472 GB, free: 5.629 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/0.6157, allocations: 124.6 kB / 1.473 GB, free: 5.508 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.6158, allocations: 36.38 kB / 1.473 GB, free: 5.473 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.001103/0.6169, allocations: 0.771 MB / 1.473 GB, free: 4.699 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.6169, allocations: 4 kB / 1.473 GB, free: 4.695 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001856/0.6187, allocations: 0.6562 MB / 1.474 GB, free: 4.039 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * 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 simulation (70):
 * Single equations (assignments): 67
 * 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
   {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.619, allocations: 135.6 kB / 1.474 GB, free: 3.895 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.005149/0.6241, allocations: 3.005 MB / 1.477 GB, free: 0.8555 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.6241, allocations: 4 kB / 1.477 GB, free: 0.8516 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.003293/0.6274, allocations: 1.881 MB / 1.479 GB, free: 14.93 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.6296, allocations: 0.5009 MB / 1.479 GB, free: 14.44 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009695/0.6392, allocations: 5.537 MB / 1.485 GB, free: 8.824 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/0.6417, allocations: 2.332 MB / 1.487 GB, free: 6.461 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.001068/0.6428, allocations: 350.1 kB / 1.487 GB, free: 6.113 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.643, allocations: 91.44 kB / 1.488 GB, free: 6.023 MB / 1.186 GB
Notification: Performance of SimCode: time 6.91e-07/0.643, allocations: 0 / 1.488 GB, free: 6.023 MB / 1.186 GB
Notification: Performance of Templates: time 0.05987/0.7029, allocations: 34.79 MB / 1.521 GB, free: 3.664 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.828508466482162]