Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001346/0.001346, allocations: 110 kB / 18.93 MB, free: 2.945 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.001416/0.001416, allocations: 186.8 kB / 22.23 MB, free: 5.164 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: 12.99 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.828 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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 1.11 GB, free: 6.242 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7413, allocations: 168.8 MB / 1.274 GB, free: 4.137 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04041/0.7817, allocations: 32.14 MB / 1.306 GB, free: 3.891 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.02417/0.8059, allocations: 13.97 MB / 1.319 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.8097, allocations: 190.5 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.00951/0.8192, allocations: 3.343 MB / 1.323 GB, free: 2.344 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.008189/0.8274, allocations: 2.784 MB / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005824/0.8332, allocations: 2.067 MB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.01073/0.8439, allocations: 7.613 MB / 1.335 GB, free: 5.848 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.007183/0.8511, allocations: 4.255 MB / 1.339 GB, free: 1.477 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.8573, allocations: 3.517 MB / 1.343 GB, free: 13.95 MB / 1.045 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006848/0.8641, allocations: 3.563 MB / 1.346 GB, free: 10.38 MB / 1.045 GB
Notification: Performance of NFPackage.collectConstants: time 0.001979/0.8661, allocations: 0.5977 MB / 1.347 GB, free: 9.777 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.8702, allocations: 1.525 MB / 1.348 GB, free: 8.25 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.003618/0.8738, allocations: 2.428 MB / 1.351 GB, free: 5.816 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.005138/0.8789, allocations: 2.886 MB / 1.353 GB, free: 2.918 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.01354/0.8925, allocations: 9.488 MB / 1.363 GB, free: 9.398 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.8925, allocations: 4 kB / 1.363 GB, free: 9.395 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.8925, allocations: 0 / 1.363 GB, free: 9.395 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 0.0003194/0.8928, allocations: 0 / 1.363 GB, free: 9.395 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: 1133
 * Number of variables: 1133
Notification: Performance of Generate backend data structure: time 0.01504/0.9078, allocations: 5.183 MB / 1.368 GB, free: 4.145 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.9079, allocations: 19.98 kB / 1.368 GB, free: 4.125 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00721/0.9151, allocations: 1.013 MB / 1.369 GB, free: 3.109 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007559/0.9226, allocations: 3.029 MB / 1.372 GB, free: 15.98 MB / 1.076 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.923, allocations: 316.9 kB / 1.372 GB, free: 15.67 MB / 1.076 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.9245, allocations: 424 kB / 1.372 GB, free: 15.26 MB / 1.076 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.9393, allocations: 6.787 MB / 1.379 GB, free: 8.184 MB / 1.076 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.9395, allocations: 23.83 kB / 1.379 GB, free: 8.16 MB / 1.076 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006975/0.9402, allocations: 188 kB / 1.379 GB, free: 7.977 MB / 1.076 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008951/0.9411, allocations: 372 kB / 1.38 GB, free: 7.609 MB / 1.076 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.9522, allocations: 5.118 MB / 1.385 GB, free: 2.473 MB / 1.076 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03965/0.9918, allocations: 30.26 MB / 1.414 GB, free: 1.445 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.9941, allocations: 1.313 MB / 1.415 GB, free: 120 kB / 1.107 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.9959, allocations: 1.242 MB / 1.417 GB, free: 14.88 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.996, allocations: 17.31 kB / 1.417 GB, free: 14.86 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.9961, allocations: 51.88 kB / 1.417 GB, free: 14.8 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.9961, allocations: 0 / 1.417 GB, free: 14.8 MB / 1.123 GB
Notification: Performance of matching and sorting (n=199): time 0.08497/1.081, allocations: 22.85 MB / 1.439 GB, free: 7.879 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.081, allocations: 73.41 kB / 1.439 GB, free: 7.793 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/1.085, allocations: 2.066 MB / 1.441 GB, free: 5.711 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003198/1.085, allocations: 61.7 kB / 1.441 GB, free: 5.645 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.087, allocations: 2.063 MB / 1.443 GB, free: 3.562 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008189/1.087, allocations: 0.7087 MB / 1.444 GB, free: 2.848 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009269/1.088, allocations: 420.4 kB / 1.444 GB, free: 2.43 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001247/1.088, allocations: 305.1 kB / 1.444 GB, free: 2.129 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/1.091, allocations: 1.43 MB / 1.446 GB, free: 0.6953 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/1.094, allocations: 2.014 MB / 1.448 GB, free: 14.43 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/1.099, allocations: 3.692 MB / 1.451 GB, free: 10.5 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/1.099, allocations: 4 kB / 1.451 GB, free: 10.5 MB / 1.154 GB
Notification: Performance of matching and sorting (n=294) (initialization): time 0.01249/1.112, allocations: 5.604 MB / 1.457 GB, free: 4.824 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.112, allocations: 14.41 kB / 1.457 GB, free: 4.812 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/1.112, allocations: 20 kB / 1.457 GB, free: 4.793 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007359/1.119, allocations: 2.075 MB / 1.459 GB, free: 2.664 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.121, allocations: 375.4 kB / 1.459 GB, free: 2.297 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04278/1.164, allocations: 36.63 MB / 1.495 GB, free: 11.6 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/1.166, allocations: 127.9 kB / 1.495 GB, free: 11.47 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.166, allocations: 87.98 kB / 1.495 GB, free: 11.39 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 78
 * 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 (204):
 * Single equations (assignments): 186
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002726/1.169, allocations: 1.508 MB / 1.497 GB, free: 9.867 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/1.17, allocations: 294.2 kB / 1.497 GB, free: 9.578 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.181, allocations: 5.149 MB / 1.502 GB, free: 4.352 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/1.181, allocations: 20 kB / 1.502 GB, free: 4.332 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/1.181, allocations: 20 kB / 1.502 GB, free: 4.312 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/1.181, allocations: 7.969 kB / 1.502 GB, free: 4.305 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/1.202, allocations: 9.586 MB / 1.512 GB, free: 10.52 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.202, allocations: 4 kB / 1.512 GB, free: 10.52 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/1.203, allocations: 216.5 kB / 1.512 GB, free: 10.3 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/1.209, allocations: 1.846 MB / 1.514 GB, free: 8.402 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/1.21, allocations: 47.94 kB / 1.514 GB, free: 8.355 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0412/1.251, allocations: 35.62 MB / 1.548 GB, free: 2.66 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.251, allocations: 11.94 kB / 1.548 GB, free: 2.648 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.261, allocations: 4.848 MB / 1.553 GB, free: 13.64 MB / 1.264 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001893/1.263, allocations: 0.5644 MB / 1.554 GB, free: 13.07 MB / 1.264 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005271/1.264, allocations: 39.98 kB / 1.554 GB, free: 13.04 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.265, allocations: 135.8 kB / 1.554 GB, free: 12.9 MB / 1.264 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007454/1.266, allocations: 197.4 kB / 1.554 GB, free: 12.71 MB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.266, allocations: 56 kB / 1.554 GB, free: 12.65 MB / 1.264 GB
Notification: Performance of sorting global known variables: time 0.002243/1.268, allocations: 1.378 MB / 1.555 GB, free: 11.27 MB / 1.264 GB
Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 1.555 GB, free: 11.27 MB / 1.264 GB
Notification: Performance of remove unused functions: time 0.004014/1.272, allocations: 1.051 MB / 1.556 GB, free: 10.21 MB / 1.264 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (112):
 * Single equations (assignments): 94
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/1.273, allocations: 170.9 kB / 1.557 GB, free: 10.04 MB / 1.264 GB
Notification: Performance of simCode: created initialization part: time 0.01084/1.283, allocations: 6.006 MB / 1.562 GB, free: 3.805 MB / 1.264 GB
Notification: Performance of simCode: created event and clocks part: time 1.48e-05/1.283, allocations: 4.812 kB / 1.562 GB, free: 3.801 MB / 1.264 GB
Notification: Performance of simCode: created simulation system equations: time 0.007485/1.291, allocations: 4.28 MB / 1.567 GB, free: 15.29 MB / 1.279 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/1.296, allocations: 0.9905 MB / 1.568 GB, free: 14.32 MB / 1.279 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.311, allocations: 8.27 MB / 1.576 GB, free: 5.965 MB / 1.279 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004158/1.316, allocations: 3.132 MB / 1.579 GB, free: 2.797 MB / 1.279 GB
Notification: Performance of simCode: alias equations: time 0.00199/1.318, allocations: 0.5199 MB / 1.579 GB, free: 2.273 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/1.318, allocations: 151.4 kB / 1.579 GB, free: 2.125 MB / 1.279 GB
Notification: Performance of SimCode: time 1.603e-06/1.318, allocations: 0 / 1.579 GB, free: 2.125 MB / 1.279 GB
Notification: Performance of Templates: time 0.7242/2.042, allocations: 60.87 MB / 1.639 GB, free: 304.5 MB / 1.311 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 11.574838818050921]