Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001785/0.001785, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002162/0.002162, allocations: 192.3 kB / 22.11 MB, free: 4.223 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.508/1.508, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.891/2.891, allocations: 495.8 MB / 0.7831 GB, free: 12.32 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-maint.12.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 1.137 GB, free: 10.16 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9598/0.9618, allocations: 173.6 MB / 1.307 GB, free: 0.9023 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008724/0.9706, allocations: 5.02 MB / 1.312 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005079/0.9756, allocations: 2.564 MB / 1.314 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.9762, allocations: 44.34 kB / 1.314 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001365/0.9776, allocations: 414.9 kB / 1.315 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001483/0.9791, allocations: 465.8 kB / 1.315 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.9802, allocations: 407.7 kB / 1.315 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.001285/0.9815, allocations: 0.9274 MB / 1.316 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.982, allocations: 257.9 kB / 1.317 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.9826, allocations: 360.5 kB / 1.317 GB, free: 10 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.9831, allocations: 365.9 kB / 1.317 GB, free: 9.773 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.9831, allocations: 42.19 kB / 1.317 GB, free: 9.77 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.9839, allocations: 356.7 kB / 1.318 GB, free: 9.598 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000237/0.9841, allocations: 195.1 kB / 1.318 GB, free: 9.465 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.9845, allocations: 319.6 kB / 1.318 GB, free: 9.258 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001256/0.9858, allocations: 0.8947 MB / 1.319 GB, free: 8.664 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9858, allocations: 0 / 1.319 GB, free: 8.664 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.703e-06/0.9858, allocations: 3.938 kB / 1.319 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.242e-05/0.9858, allocations: 0 / 1.319 GB, free: 8.66 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 129
 * Number of variables: 129
Notification: Performance of Generate backend data structure: time 0.001596/0.9874, allocations: 0.8876 MB / 1.32 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.9874, allocations: 9.719 kB / 1.32 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.9888, allocations: 210.1 kB / 1.32 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009203/0.9897, allocations: 0.4896 MB / 1.321 GB, free: 7.477 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.9897, allocations: 31.69 kB / 1.321 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.9898, allocations: 48.61 kB / 1.321 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.991, allocations: 0.8487 MB / 1.321 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.991, allocations: 7.125 kB / 1.321 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.9911, allocations: 24.02 kB / 1.322 GB, free: 6.73 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.9912, allocations: 62.02 kB / 1.322 GB, free: 6.715 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.9921, allocations: 0.572 MB / 1.322 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.9972, allocations: 5.571 MB / 1.328 GB, free: 1.055 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.9978, allocations: 423.4 kB / 1.328 GB, free: 0.8398 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.9981, allocations: 205 kB / 1.328 GB, free: 0.7344 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.9982, allocations: 2.906 kB / 1.328 GB, free: 0.7344 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9982, allocations: 37.38 kB / 1.328 GB, free: 0.6914 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.9982, allocations: 0 / 1.328 GB, free: 0.6914 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33): time 0.002634/1.001, allocations: 1.134 MB / 1.329 GB, free: 56 kB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/1.001, allocations: 59.66 kB / 1.329 GB, free: 15.99 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/1.001, allocations: 0.5102 MB / 1.33 GB, free: 15.67 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.432e-05/1.001, allocations: 30.95 kB / 1.33 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002679/1.002, allocations: 367.8 kB / 1.33 GB, free: 15.31 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.002, allocations: 119.7 kB / 1.33 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.002, allocations: 112 kB / 1.33 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001847/1.002, allocations: 367.2 kB / 1.331 GB, free: 14.78 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/1.003, allocations: 194.3 kB / 1.331 GB, free: 14.69 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/1.003, allocations: 444.7 kB / 1.331 GB, free: 14.26 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/1.004, allocations: 0.6966 MB / 1.332 GB, free: 13.68 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.004, allocations: 3.25 kB / 1.332 GB, free: 13.68 MB / 1.029 GB
Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/1.005, allocations: 0.8066 MB / 1.333 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.005, allocations: 11.19 kB / 1.333 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.005, allocations: 12.19 kB / 1.333 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/1.006, allocations: 158.6 kB / 1.333 GB, free: 13.13 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/1.006, allocations: 125.1 kB / 1.333 GB, free: 13.09 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/1.01, allocations: 4.037 MB / 1.337 GB, free: 9.062 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/1.01, allocations: 32.31 kB / 1.337 GB, free: 9.047 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/1.01, allocations: 32.53 kB / 1.337 GB, free: 9.039 MB / 1.029 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 38
 * 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 (66):
 * Single equations (assignments): 61
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003325/1.011, allocations: 225.2 kB / 1.337 GB, free: 8.848 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/1.011, allocations: 62.62 kB / 1.337 GB, free: 8.816 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.012, allocations: 0.5942 MB / 1.338 GB, free: 8.441 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.012, allocations: 3.469 kB / 1.338 GB, free: 8.441 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.012, allocations: 5.5 kB / 1.338 GB, free: 8.438 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.012, allocations: 0 / 1.338 GB, free: 8.438 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/1.014, allocations: 1.24 MB / 1.339 GB, free: 7.543 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.014, allocations: 10.14 kB / 1.339 GB, free: 7.535 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.014, allocations: 54.89 kB / 1.339 GB, free: 7.52 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/1.015, allocations: 148.9 kB / 1.339 GB, free: 7.418 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/1.015, allocations: 18.58 kB / 1.339 GB, free: 7.402 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/1.018, allocations: 4.018 MB / 1.343 GB, free: 3.383 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.467e-05/1.018, allocations: 2.812 kB / 1.343 GB, free: 3.383 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.019, allocations: 0.7095 MB / 1.344 GB, free: 2.883 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/1.02, allocations: 91.77 kB / 1.344 GB, free: 2.824 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/1.02, allocations: 12.81 kB / 1.344 GB, free: 2.816 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/1.02, allocations: 21.91 kB / 1.344 GB, free: 2.805 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/1.02, allocations: 34.3 kB / 1.344 GB, free: 2.781 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.02, allocations: 16.66 kB / 1.344 GB, free: 2.773 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004507/1.021, allocations: 338.7 kB / 1.345 GB, free: 2.574 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/1.021, allocations: 0 / 1.345 GB, free: 2.574 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0007287/1.021, allocations: 138.4 kB / 1.345 GB, free: 2.562 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * 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 (29):
 * Single equations (assignments): 24
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/1.022, allocations: 118 kB / 1.345 GB, free: 2.453 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001529/1.023, allocations: 0.8515 MB / 1.346 GB, free: 1.855 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.023, allocations: 0 / 1.346 GB, free: 1.855 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009078/1.024, allocations: 0.572 MB / 1.346 GB, free: 1.383 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.025, allocations: 208.9 kB / 1.346 GB, free: 1.277 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/1.027, allocations: 1.064 MB / 1.347 GB, free: 0.5703 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/1.027, allocations: 0.9097 MB / 1.348 GB, free: 15.77 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.000363/1.028, allocations: 123.1 kB / 1.348 GB, free: 15.71 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.028, allocations: 40.03 kB / 1.349 GB, free: 15.7 MB / 1.045 GB
Notification: Performance of SimCode: time 3.8e-07/1.028, allocations: 0 / 1.349 GB, free: 15.7 MB / 1.045 GB
Notification: Performance of Templates: time 0.01786/1.046, allocations: 8.063 MB / 1.356 GB, free: 11.82 MB / 1.045 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.379972861148417]