Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001446/0.001446, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.0014/0.0014, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.417/1.417, allocations: 225.6 MB / 251 MB, free: 13.03 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.743/2.743, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.91 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8819, allocations: 168.8 MB / 1.274 GB, free: 4.156 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.02254/0.9045, allocations: 10.46 MB / 1.285 GB, free: 9.656 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.009839/0.9143, allocations: 3.127 MB / 1.288 GB, free: 6.52 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.9155, allocations: 47.62 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.003208/0.9187, allocations: 0.7115 MB / 1.288 GB, free: 5.758 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.003128/0.9218, allocations: 0.7273 MB / 1.289 GB, free: 5.027 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.9246, allocations: 0.6534 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.005861/0.9304, allocations: 2.738 MB / 1.292 GB, free: 1.629 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.9343, allocations: 1.263 MB / 1.294 GB, free: 332 kB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.9374, allocations: 1.157 MB / 1.295 GB, free: 15.16 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.9414, allocations: 1.492 MB / 1.296 GB, free: 13.67 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 0.0009208/0.9423, allocations: 220 kB / 1.296 GB, free: 13.45 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.9446, allocations: 0.4915 MB / 1.297 GB, free: 12.96 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 0.002412/0.947, allocations: 1.005 MB / 1.298 GB, free: 11.95 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.002841/0.9498, allocations: 1.011 MB / 1.299 GB, free: 10.94 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.007307/0.9571, allocations: 3.421 MB / 1.302 GB, free: 7.512 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.9571, allocations: 0 / 1.302 GB, free: 7.512 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.944e-06/0.9572, allocations: 0 / 1.302 GB, free: 7.512 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 0.0001065/0.9573, allocations: 0 / 1.302 GB, free: 7.512 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 419
 * Number of variables: 419
Notification: Performance of Generate backend data structure: time 0.007954/0.9652, allocations: 1.909 MB / 1.304 GB, free: 5.562 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.9653, allocations: 16.03 kB / 1.304 GB, free: 5.547 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.9766, allocations: 0.8892 MB / 1.305 GB, free: 4.656 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.9815, allocations: 1.128 MB / 1.306 GB, free: 3.492 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.9817, allocations: 111.2 kB / 1.306 GB, free: 3.383 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008829/0.9826, allocations: 144.3 kB / 1.306 GB, free: 3.242 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009681/0.9923, allocations: 3.023 MB / 1.309 GB, free: 124 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.9923, allocations: 7.938 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.9926, allocations: 63.97 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/0.9928, allocations: 175 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.9972, allocations: 2.612 MB / 1.312 GB, free: 13.26 MB / 1.014 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/1.015, allocations: 13.39 MB / 1.325 GB, free: 14.78 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002027/1.017, allocations: 1.223 MB / 1.326 GB, free: 13.55 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/1.018, allocations: 0.9805 MB / 1.327 GB, free: 12.56 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.294e-05/1.018, allocations: 12.64 kB / 1.327 GB, free: 12.55 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.018, allocations: 43.22 kB / 1.327 GB, free: 12.5 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=82): time 2.675e-06/1.018, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB
Notification: Performance of matching and sorting (n=139): time 0.07256/1.091, allocations: 18.88 MB / 1.346 GB, free: 9.59 MB / 1.045 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/1.091, allocations: 64.72 kB / 1.346 GB, free: 9.512 MB / 1.045 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.093, allocations: 0.9145 MB / 1.347 GB, free: 8.586 MB / 1.045 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.093, allocations: 49.7 kB / 1.347 GB, free: 8.531 MB / 1.045 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006453/1.093, allocations: 0.7579 MB / 1.347 GB, free: 7.762 MB / 1.045 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006354/1.094, allocations: 0.5073 MB / 1.348 GB, free: 7.25 MB / 1.045 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007426/1.095, allocations: 287.5 kB / 1.348 GB, free: 6.965 MB / 1.045 GB
Notification: Performance of setup shared object (initialization): time 0.0001953/1.095, allocations: 353.9 kB / 1.349 GB, free: 6.613 MB / 1.045 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.097, allocations: 1.339 MB / 1.35 GB, free: 5.273 MB / 1.045 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/1.1, allocations: 1.659 MB / 1.352 GB, free: 3.5 MB / 1.045 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/1.105, allocations: 3.088 MB / 1.355 GB, free: 300 kB / 1.045 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.105, allocations: 0 / 1.355 GB, free: 300 kB / 1.045 GB
Notification: Performance of matching and sorting (n=191) (initialization): time 0.01322/1.118, allocations: 5.555 MB / 1.36 GB, free: 10.71 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/1.118, allocations: 8 kB / 1.36 GB, free: 10.7 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/1.118, allocations: 19.88 kB / 1.36 GB, free: 10.68 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009462/1.128, allocations: 2.711 MB / 1.363 GB, free: 7.957 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/1.129, allocations: 199.7 kB / 1.363 GB, free: 7.762 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04178/1.17, allocations: 25.33 MB / 1.388 GB, free: 13.97 MB / 1.092 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.172, allocations: 104.1 kB / 1.388 GB, free: 13.87 MB / 1.092 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/1.172, allocations: 60 kB / 1.388 GB, free: 13.81 MB / 1.092 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 39
 * 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 (99):
 * Single equations (assignments): 95
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001598/1.174, allocations: 0.7277 MB / 1.388 GB, free: 13.07 MB / 1.092 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/1.174, allocations: 123.2 kB / 1.389 GB, free: 12.95 MB / 1.092 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.187, allocations: 5.31 MB / 1.394 GB, free: 7.605 MB / 1.092 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.187, allocations: 12 kB / 1.394 GB, free: 7.594 MB / 1.092 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/1.187, allocations: 20 kB / 1.394 GB, free: 7.574 MB / 1.092 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/1.187, allocations: 3.984 kB / 1.394 GB, free: 7.57 MB / 1.092 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.206, allocations: 8.614 MB / 1.402 GB, free: 14.84 MB / 1.107 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/1.206, allocations: 4.469 kB / 1.402 GB, free: 14.84 MB / 1.107 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/1.206, allocations: 119.8 kB / 1.402 GB, free: 14.72 MB / 1.107 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.008828/1.215, allocations: 2.588 MB / 1.405 GB, free: 12.12 MB / 1.107 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/1.216, allocations: 24 kB / 1.405 GB, free: 12.1 MB / 1.107 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03806/1.254, allocations: 23.76 MB / 1.428 GB, free: 3.871 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/1.254, allocations: 7.938 kB / 1.428 GB, free: 3.863 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.265, allocations: 5.179 MB / 1.433 GB, free: 14.6 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.267, allocations: 427.1 kB / 1.434 GB, free: 14.18 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/1.267, allocations: 24 kB / 1.434 GB, free: 14.16 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.268, allocations: 75.91 kB / 1.434 GB, free: 14.09 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/1.268, allocations: 132.9 kB / 1.434 GB, free: 13.95 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.269, allocations: 36 kB / 1.434 GB, free: 13.92 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 0.00102/1.27, allocations: 0.6434 MB / 1.434 GB, free: 13.28 MB / 1.139 GB
Notification: Performance of sort global known variables: time 8e-08/1.27, allocations: 0 / 1.434 GB, free: 13.28 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.002646/1.272, allocations: 0.7227 MB / 1.435 GB, free: 12.55 MB / 1.139 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * 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 (62):
 * Single equations (assignments): 58
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/1.273, allocations: 145.4 kB / 1.435 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.007548/1.28, allocations: 4.082 MB / 1.439 GB, free: 8.277 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.28, allocations: 0 / 1.439 GB, free: 8.277 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 0.005509/1.286, allocations: 2.622 MB / 1.442 GB, free: 5.602 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.287, allocations: 218.4 kB / 1.442 GB, free: 5.395 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/1.295, allocations: 4.071 MB / 1.446 GB, free: 1.254 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.297, allocations: 1.704 MB / 1.448 GB, free: 15.51 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0008812/1.298, allocations: 337.4 kB / 1.448 GB, free: 15.18 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/1.298, allocations: 63.42 kB / 1.448 GB, free: 15.12 MB / 1.154 GB
Notification: Performance of SimCode: time 9.72e-07/1.298, allocations: 0 / 1.448 GB, free: 15.12 MB / 1.154 GB
Notification: Performance of Templates: time 0.06714/1.365, allocations: 41.98 MB / 1.489 GB, free: 5.285 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.69237604457885]