Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001315/0.001315, 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.001499/0.001499, allocations: 191.7 kB / 22.23 MB, free: 5.098 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.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.02 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.136/3.136, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 67.36 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3856, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0142/0.3998, allocations: 10.47 MB / 1.326 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.00596/0.4058, allocations: 3.123 MB / 1.329 GB, free: 12.05 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005644/0.4064, allocations: 47.69 kB / 1.329 GB, free: 12 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.002013/0.4084, allocations: 0.7115 MB / 1.33 GB, free: 11.29 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.001574/0.4099, allocations: 0.7312 MB / 1.331 GB, free: 10.55 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4114, allocations: 0.6509 MB / 1.331 GB, free: 9.902 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.003112/0.4145, allocations: 2.738 MB / 1.334 GB, free: 7.156 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.4164, allocations: 1.263 MB / 1.335 GB, free: 5.848 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.418, allocations: 1.145 MB / 1.336 GB, free: 4.699 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.42, allocations: 1.507 MB / 1.338 GB, free: 3.188 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.4203, allocations: 216 kB / 1.338 GB, free: 2.977 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000977/0.4213, allocations: 499.3 kB / 1.339 GB, free: 2.488 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 0.001053/0.4223, allocations: 1.005 MB / 1.34 GB, free: 1.48 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.001148/0.4235, allocations: 1.011 MB / 1.341 GB, free: 476 kB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.003607/0.4271, allocations: 3.419 MB / 1.344 GB, free: 13.04 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4271, allocations: 4 kB / 1.344 GB, free: 13.03 MB / 1.045 GB
Notification: Performance of FrontEnd: time 1.833e-06/0.4271, allocations: 0 / 1.344 GB, free: 13.03 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 4.302e-05/0.4271, allocations: 3.938 kB / 1.344 GB, free: 13.03 MB / 1.045 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.003691/0.4308, allocations: 1.909 MB / 1.346 GB, free: 11.08 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4308, allocations: 8.031 kB / 1.346 GB, free: 11.07 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/0.437, allocations: 0.897 MB / 1.347 GB, free: 10.17 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.4393, allocations: 1.124 MB / 1.348 GB, free: 9.016 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.957e-05/0.4394, allocations: 119.3 kB / 1.348 GB, free: 8.898 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.4397, allocations: 140.3 kB / 1.348 GB, free: 8.762 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/0.4446, allocations: 3.022 MB / 1.351 GB, free: 5.641 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.4447, allocations: 7.938 kB / 1.351 GB, free: 5.633 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.4449, allocations: 63.97 kB / 1.351 GB, free: 5.57 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.4451, allocations: 175 kB / 1.351 GB, free: 5.398 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.4494, allocations: 2.608 MB / 1.354 GB, free: 2.785 MB / 1.045 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.01939/0.4688, allocations: 13.4 MB / 1.367 GB, free: 4.297 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.4709, allocations: 1.217 MB / 1.368 GB, free: 3.062 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4724, allocations: 0.9837 MB / 1.369 GB, free: 2.078 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.4725, allocations: 8.656 kB / 1.369 GB, free: 2.07 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.4726, allocations: 39.22 kB / 1.369 GB, free: 2.023 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=82): time 3.978e-06/0.4726, allocations: 0 / 1.369 GB, free: 2.023 MB / 1.061 GB
Notification: Performance of matching and sorting (n=139): time 0.08111/0.5537, allocations: 18.89 MB / 1.387 GB, free: 15.1 MB / 1.092 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5538, allocations: 64.72 kB / 1.387 GB, free: 15.02 MB / 1.092 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5552, allocations: 0.9184 MB / 1.388 GB, free: 14.09 MB / 1.092 GB
Notification: Performance of collectPreVariables (initialization): time 0.000238/0.5554, allocations: 49.7 kB / 1.388 GB, free: 14.04 MB / 1.092 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.556, allocations: 0.7501 MB / 1.389 GB, free: 13.27 MB / 1.092 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.5565, allocations: 0.4996 MB / 1.39 GB, free: 12.77 MB / 1.092 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/0.5571, allocations: 287.5 kB / 1.39 GB, free: 12.48 MB / 1.092 GB
Notification: Performance of setup shared object (initialization): time 0.0002006/0.5573, allocations: 357.9 kB / 1.39 GB, free: 12.13 MB / 1.092 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.5594, allocations: 1.339 MB / 1.392 GB, free: 10.79 MB / 1.092 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5617, allocations: 1.655 MB / 1.393 GB, free: 9.023 MB / 1.092 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.5662, allocations: 3.084 MB / 1.396 GB, free: 5.82 MB / 1.092 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.5662, allocations: 4 kB / 1.396 GB, free: 5.816 MB / 1.092 GB
Notification: Performance of matching and sorting (n=191) (initialization): time 0.01304/0.5792, allocations: 5.555 MB / 1.402 GB, free: 240 kB / 1.092 GB
Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.5793, allocations: 13.84 kB / 1.402 GB, free: 228 kB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.5793, allocations: 11.94 kB / 1.402 GB, free: 216 kB / 1.092 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009992/0.5893, allocations: 2.725 MB / 1.404 GB, free: 13.47 MB / 1.107 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.5903, allocations: 195.6 kB / 1.405 GB, free: 13.28 MB / 1.107 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04415/0.6344, allocations: 25.33 MB / 1.429 GB, free: 3.484 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6361, allocations: 95.95 kB / 1.429 GB, free: 3.391 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/0.6365, allocations: 56.12 kB / 1.429 GB, free: 3.336 MB / 1.123 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.00156/0.638, allocations: 0.7392 MB / 1.43 GB, free: 2.586 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.6384, allocations: 131.2 kB / 1.43 GB, free: 2.457 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.6518, allocations: 5.31 MB / 1.435 GB, free: 13.11 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.6518, allocations: 15.98 kB / 1.435 GB, free: 13.09 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.814e-05/0.6519, allocations: 24 kB / 1.435 GB, free: 13.07 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.6519, allocations: 7.969 kB / 1.435 GB, free: 13.06 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/0.6708, allocations: 8.594 MB / 1.444 GB, free: 4.355 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.6708, allocations: 0 / 1.444 GB, free: 4.355 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.6714, allocations: 119.8 kB / 1.444 GB, free: 4.238 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.009567/0.6809, allocations: 2.595 MB / 1.447 GB, free: 1.633 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/0.6812, allocations: 24 kB / 1.447 GB, free: 1.609 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03965/0.7208, allocations: 23.77 MB / 1.47 GB, free: 9.379 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.7208, allocations: 4 kB / 1.47 GB, free: 9.375 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.7335, allocations: 5.179 MB / 1.475 GB, free: 4.113 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.7351, allocations: 427.1 kB / 1.475 GB, free: 3.695 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.7355, allocations: 28 kB / 1.475 GB, free: 3.668 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7367, allocations: 79.89 kB / 1.475 GB, free: 3.59 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/0.7374, allocations: 125 kB / 1.475 GB, free: 3.465 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.7375, allocations: 36 kB / 1.475 GB, free: 3.43 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.001132/0.7386, allocations: 0.6473 MB / 1.476 GB, free: 2.781 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7386, allocations: 4 kB / 1.476 GB, free: 2.777 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.003074/0.7417, allocations: 0.7227 MB / 1.477 GB, free: 2.055 MB / 1.17 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.0003417/0.7421, allocations: 135.6 kB / 1.477 GB, free: 1.914 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.008083/0.7501, allocations: 4.082 MB / 1.481 GB, free: 13.78 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.7502, allocations: 0 / 1.481 GB, free: 13.78 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.005938/0.7561, allocations: 2.611 MB / 1.483 GB, free: 11.11 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.7579, allocations: 239.2 kB / 1.484 GB, free: 10.89 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.7661, allocations: 4.062 MB / 1.488 GB, free: 6.77 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.7683, allocations: 1.704 MB / 1.489 GB, free: 5.027 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0009397/0.7692, allocations: 329.4 kB / 1.49 GB, free: 4.703 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.7695, allocations: 55.44 kB / 1.49 GB, free: 4.648 MB / 1.186 GB
Notification: Performance of SimCode: time 1.322e-06/0.7695, allocations: 0 / 1.49 GB, free: 4.648 MB / 1.186 GB
Notification: Performance of Templates: time 0.06812/0.8376, allocations: 42 MB / 1.531 GB, free: 10.77 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.808044080622494]