Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00178/0.00178, allocations: 110.2 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.002089/0.002089, allocations: 193.2 kB / 22.23 MB, free: 5.16 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.429/1.429, allocations: 225.6 MB / 251 MB, free: 13 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.162/3.162, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 68.98 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02133/0.3396, allocations: 16.78 MB / 1.332 GB, free: 8.855 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.008914/0.3486, allocations: 4.984 MB / 1.337 GB, free: 3.855 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3498, allocations: 91.38 kB / 1.337 GB, free: 3.766 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.002915/0.3528, allocations: 1.093 MB / 1.338 GB, free: 2.668 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.001817/0.3546, allocations: 0.7776 MB / 1.339 GB, free: 1.887 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.357, allocations: 0.9594 MB / 1.34 GB, free: 0.9297 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.004616/0.3616, allocations: 3.61 MB / 1.344 GB, free: 13.31 MB / 1.045 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003418/0.365, allocations: 2.303 MB / 1.346 GB, free: 10.94 MB / 1.045 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.3675, allocations: 1.621 MB / 1.347 GB, free: 9.312 MB / 1.045 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.3701, allocations: 1.885 MB / 1.349 GB, free: 7.422 MB / 1.045 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.3706, allocations: 336 kB / 1.35 GB, free: 7.094 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3721, allocations: 0.8153 MB / 1.35 GB, free: 6.277 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.00155/0.3737, allocations: 1.364 MB / 1.352 GB, free: 4.91 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.001895/0.3756, allocations: 1.455 MB / 1.353 GB, free: 3.449 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.005687/0.3813, allocations: 5.132 MB / 1.358 GB, free: 14.3 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3813, allocations: 7.938 kB / 1.358 GB, free: 14.29 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.3813, allocations: 0 / 1.358 GB, free: 14.29 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 8.654e-05/0.3814, allocations: 3.984 kB / 1.358 GB, free: 14.29 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: 641
 * Number of variables: 641
Notification: Performance of Generate backend data structure: time 0.005125/0.3865, allocations: 2.642 MB / 1.361 GB, free: 11.6 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3865, allocations: 8.031 kB / 1.361 GB, free: 11.59 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.3905, allocations: 0.846 MB / 1.362 GB, free: 10.75 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.3936, allocations: 1.531 MB / 1.363 GB, free: 9.18 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.3937, allocations: 177.1 kB / 1.363 GB, free: 9.004 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.3942, allocations: 236.3 kB / 1.364 GB, free: 8.773 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/0.4013, allocations: 4.155 MB / 1.368 GB, free: 4.48 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.4014, allocations: 11.88 kB / 1.368 GB, free: 4.469 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.4016, allocations: 104 kB / 1.368 GB, free: 4.367 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.4018, allocations: 164.5 kB / 1.368 GB, free: 4.203 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006097/0.4079, allocations: 3.64 MB / 1.371 GB, free: 0.5469 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.4276, allocations: 15.63 MB / 1.387 GB, free: 15.64 MB / 1.092 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.4308, allocations: 1.481 MB / 1.388 GB, free: 14.14 MB / 1.092 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.4317, allocations: 0.5514 MB / 1.389 GB, free: 13.58 MB / 1.092 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4318, allocations: 20.55 kB / 1.389 GB, free: 13.56 MB / 1.092 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4318, allocations: 43.22 kB / 1.389 GB, free: 13.51 MB / 1.092 GB
Notification: Performance of pre-optimization done (n=72): time 2.374e-06/0.4318, allocations: 0 / 1.389 GB, free: 13.51 MB / 1.092 GB
Notification: Performance of matching and sorting (n=76): time 0.005743/0.4376, allocations: 3.201 MB / 1.392 GB, free: 10.29 MB / 1.092 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.4377, allocations: 115.5 kB / 1.392 GB, free: 10.15 MB / 1.092 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.4391, allocations: 1.018 MB / 1.393 GB, free: 9.105 MB / 1.092 GB
Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4391, allocations: 37.7 kB / 1.393 GB, free: 9.062 MB / 1.092 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0008534/0.44, allocations: 1.142 MB / 1.394 GB, free: 7.906 MB / 1.092 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.4402, allocations: 293.6 kB / 1.394 GB, free: 7.617 MB / 1.092 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.4407, allocations: 287.3 kB / 1.395 GB, free: 7.328 MB / 1.092 GB
Notification: Performance of setup shared object (initialization): time 0.0002408/0.4409, allocations: 414.7 kB / 1.395 GB, free: 6.914 MB / 1.092 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4419, allocations: 0.6167 MB / 1.396 GB, free: 6.297 MB / 1.092 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.4434, allocations: 1.182 MB / 1.397 GB, free: 4.855 MB / 1.092 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.4461, allocations: 1.868 MB / 1.399 GB, free: 2.723 MB / 1.092 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.4461, allocations: 8 kB / 1.399 GB, free: 2.715 MB / 1.092 GB
Notification: Performance of matching and sorting (n=173) (initialization): time 0.003396/0.4495, allocations: 2.023 MB / 1.401 GB, free: 0.6719 MB / 1.092 GB
Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4495, allocations: 12 kB / 1.401 GB, free: 0.6602 MB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.4495, allocations: 20 kB / 1.401 GB, free: 0.6406 MB / 1.092 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.45, allocations: 163.9 kB / 1.401 GB, free: 480 kB / 1.092 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4512, allocations: 343.4 kB / 1.401 GB, free: 136 kB / 1.092 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.91e-05/0.4512, allocations: 39.86 kB / 1.401 GB, free: 96 kB / 1.092 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.4521, allocations: 123.8 kB / 1.401 GB, free: 15.97 MB / 1.107 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4522, allocations: 67.92 kB / 1.401 GB, free: 15.91 MB / 1.107 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 86
 * 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 (169):
 * Single equations (assignments): 165
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 4
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 4 systems
   {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001513/0.4538, allocations: 0.9811 MB / 1.402 GB, free: 14.91 MB / 1.107 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.454, allocations: 115.2 kB / 1.402 GB, free: 14.8 MB / 1.107 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.4562, allocations: 1.234 MB / 1.404 GB, free: 13.54 MB / 1.107 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4562, allocations: 11.94 kB / 1.404 GB, free: 13.53 MB / 1.107 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4562, allocations: 0 / 1.404 GB, free: 13.53 MB / 1.107 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4562, allocations: 7.984 kB / 1.404 GB, free: 13.52 MB / 1.107 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.4622, allocations: 3.772 MB / 1.407 GB, free: 9.613 MB / 1.107 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4622, allocations: 0 / 1.407 GB, free: 9.613 MB / 1.107 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.4628, allocations: 159.8 kB / 1.407 GB, free: 9.457 MB / 1.107 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.4632, allocations: 143.6 kB / 1.408 GB, free: 9.305 MB / 1.107 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.4633, allocations: 16 kB / 1.408 GB, free: 9.289 MB / 1.107 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.4633, allocations: 11.88 kB / 1.408 GB, free: 9.277 MB / 1.107 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4633, allocations: 4 kB / 1.408 GB, free: 9.273 MB / 1.107 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.4654, allocations: 1.474 MB / 1.409 GB, free: 7.742 MB / 1.107 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.4659, allocations: 195.2 kB / 1.409 GB, free: 7.551 MB / 1.107 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4661, allocations: 23.98 kB / 1.409 GB, free: 7.527 MB / 1.107 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.4667, allocations: 59.91 kB / 1.409 GB, free: 7.469 MB / 1.107 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4668, allocations: 64.48 kB / 1.409 GB, free: 7.406 MB / 1.107 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.4669, allocations: 20 kB / 1.409 GB, free: 7.387 MB / 1.107 GB
Notification: Performance of sorting global known variables: time 0.001008/0.4679, allocations: 0.6914 MB / 1.41 GB, free: 6.684 MB / 1.107 GB
Notification: Performance of sort global known variables: time 9e-08/0.4679, allocations: 4 kB / 1.41 GB, free: 6.68 MB / 1.107 GB
Notification: Performance of remove unused functions: time 0.001513/0.4694, allocations: 392 kB / 1.41 GB, free: 6.297 MB / 1.107 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 11
 * 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 (76):
 * Single equations (assignments): 72
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 4
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 4 systems
   {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.4696, allocations: 129.6 kB / 1.411 GB, free: 6.164 MB / 1.107 GB
Notification: Performance of simCode: created initialization part: time 0.002502/0.4721, allocations: 1.356 MB / 1.412 GB, free: 4.797 MB / 1.107 GB
Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4721, allocations: 4 kB / 1.412 GB, free: 4.793 MB / 1.107 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008916/0.473, allocations: 0.5346 MB / 1.412 GB, free: 4.25 MB / 1.107 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.4744, allocations: 274.7 kB / 1.413 GB, free: 3.984 MB / 1.107 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.4809, allocations: 3.839 MB / 1.416 GB, free: 80 kB / 1.107 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.4829, allocations: 1.916 MB / 1.418 GB, free: 14.13 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 0.001127/0.484, allocations: 445.4 kB / 1.419 GB, free: 13.69 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.4842, allocations: 91.42 kB / 1.419 GB, free: 13.6 MB / 1.123 GB
Notification: Performance of SimCode: time 8.72e-07/0.4842, allocations: 0 / 1.419 GB, free: 13.6 MB / 1.123 GB
Notification: Performance of Templates: time 0.02899/0.5132, allocations: 14.68 MB / 1.433 GB, free: 15.05 MB / 1.139 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.20305376779288]