Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001741/0.001741, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002103/0.002103, allocations: 190 kB / 22.11 MB, free: 5.152 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.439/1.439, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.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 3.114/3.114, allocations: 495.8 MB / 0.783 GB, free: 33.65 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-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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 66.83 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3328, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01488/0.3476, allocations: 11.54 MB / 1.318 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.01056/0.3582, allocations: 5.964 MB / 1.324 GB, free: 272 kB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3598, allocations: 71.31 kB / 1.324 GB, free: 200 kB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.005043/0.3648, allocations: 1.805 MB / 1.326 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.003801/0.3686, allocations: 1.186 MB / 1.327 GB, free: 13.2 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.3712, allocations: 0.8136 MB / 1.328 GB, free: 12.38 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.003469/0.3747, allocations: 2.127 MB / 1.33 GB, free: 10.25 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.376, allocations: 0.8936 MB / 1.331 GB, free: 9.332 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.3775, allocations: 0.8797 MB / 1.331 GB, free: 8.449 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.3791, allocations: 0.9572 MB / 1.332 GB, free: 7.488 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 0.000246/0.3793, allocations: 119.9 kB / 1.332 GB, free: 7.371 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3818, allocations: 1.064 MB / 1.334 GB, free: 6.305 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 0.00068/0.3825, allocations: 0.549 MB / 1.334 GB, free: 5.754 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.001018/0.3835, allocations: 0.7887 MB / 1.335 GB, free: 4.961 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.00401/0.3875, allocations: 2.424 MB / 1.337 GB, free: 2.527 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3875, allocations: 0 / 1.337 GB, free: 2.527 MB / 1.029 GB
Notification: Performance of FrontEnd: time 2.094e-06/0.3875, allocations: 4 kB / 1.337 GB, free: 2.523 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 4.467e-05/0.3875, allocations: 0 / 1.337 GB, free: 2.523 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 369
 * Number of variables: 369
Notification: Performance of Generate backend data structure: time 0.003413/0.391, allocations: 1.84 MB / 1.339 GB, free: 0.6406 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.391, allocations: 12.03 kB / 1.339 GB, free: 0.6289 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.3958, allocations: 0.6742 MB / 1.34 GB, free: 15.95 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.3977, allocations: 0.9213 MB / 1.341 GB, free: 15 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.3978, allocations: 94.89 kB / 1.341 GB, free: 14.91 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.3981, allocations: 124.3 kB / 1.341 GB, free: 14.79 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/0.4017, allocations: 2.208 MB / 1.343 GB, free: 12.36 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/0.4017, allocations: 11.94 kB / 1.343 GB, free: 12.34 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.4019, allocations: 63.91 kB / 1.343 GB, free: 12.28 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.4021, allocations: 166.2 kB / 1.343 GB, free: 12.12 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.4053, allocations: 1.867 MB / 1.345 GB, free: 10.24 MB / 1.045 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.4189, allocations: 11.72 MB / 1.356 GB, free: 13.73 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004588/0.4234, allocations: 1.856 MB / 1.358 GB, free: 11.87 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009477/0.4244, allocations: 0.562 MB / 1.359 GB, free: 11.3 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.4245, allocations: 20.98 kB / 1.359 GB, free: 11.28 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4246, allocations: 47.55 kB / 1.359 GB, free: 11.23 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=103): time 2.745e-06/0.4246, allocations: 0 / 1.359 GB, free: 11.23 MB / 1.061 GB
Notification: Performance of matching and sorting (n=110): time 0.006443/0.431, allocations: 3.129 MB / 1.362 GB, free: 8.082 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.4311, allocations: 64.41 kB / 1.362 GB, free: 8.008 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.4323, allocations: 0.9244 MB / 1.363 GB, free: 7.066 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 8.165e-05/0.4324, allocations: 41.7 kB / 1.363 GB, free: 7.02 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.433, allocations: 0.7572 MB / 1.364 GB, free: 6.254 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.4334, allocations: 404.5 kB / 1.364 GB, free: 5.855 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.4338, allocations: 287.4 kB / 1.364 GB, free: 5.57 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 0.0001482/0.434, allocations: 301.1 kB / 1.365 GB, free: 5.273 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.435, allocations: 0.6129 MB / 1.365 GB, free: 4.66 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4364, allocations: 1.102 MB / 1.366 GB, free: 3.34 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.4391, allocations: 1.835 MB / 1.368 GB, free: 1.289 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.4391, allocations: 4 kB / 1.368 GB, free: 1.285 MB / 1.061 GB
Notification: Performance of matching and sorting (n=195) (initialization): time 0.003834/0.4429, allocations: 2.108 MB / 1.37 GB, free: 15.14 MB / 1.076 GB
Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4429, allocations: 12 kB / 1.37 GB, free: 15.13 MB / 1.076 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.443, allocations: 16 kB / 1.37 GB, free: 15.11 MB / 1.076 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/0.4438, allocations: 258.9 kB / 1.37 GB, free: 14.84 MB / 1.076 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.4452, allocations: 375.4 kB / 1.371 GB, free: 14.47 MB / 1.076 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009859/0.4551, allocations: 10.77 MB / 1.381 GB, free: 2.785 MB / 1.076 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.4565, allocations: 127.8 kB / 1.381 GB, free: 2.66 MB / 1.076 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.4566, allocations: 79.86 kB / 1.381 GB, free: 2.582 MB / 1.076 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 71
 * 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 (187):
 * Single equations (assignments): 179
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0007591/0.4574, allocations: 405.2 kB / 1.382 GB, free: 2.176 MB / 1.076 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.4576, allocations: 135.2 kB / 1.382 GB, free: 2.043 MB / 1.076 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.4607, allocations: 1.685 MB / 1.384 GB, free: 336 kB / 1.076 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4607, allocations: 12 kB / 1.384 GB, free: 324 kB / 1.076 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4607, allocations: 0 / 1.384 GB, free: 324 kB / 1.076 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4607, allocations: 7.984 kB / 1.384 GB, free: 316 kB / 1.076 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.4663, allocations: 3.256 MB / 1.387 GB, free: 12.91 MB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.4664, allocations: 4 kB / 1.387 GB, free: 12.91 MB / 1.092 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.4673, allocations: 223.7 kB / 1.387 GB, free: 12.69 MB / 1.092 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007859/0.4681, allocations: 246.6 kB / 1.387 GB, free: 12.43 MB / 1.092 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.4681, allocations: 24 kB / 1.387 GB, free: 12.4 MB / 1.092 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009912/0.4781, allocations: 10.77 MB / 1.398 GB, free: 0.7148 MB / 1.092 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.4781, allocations: 11.94 kB / 1.398 GB, free: 0.7031 MB / 1.092 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.4813, allocations: 1.796 MB / 1.4 GB, free: 14.79 MB / 1.107 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.482, allocations: 235 kB / 1.4 GB, free: 14.56 MB / 1.107 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.4822, allocations: 31.95 kB / 1.4 GB, free: 14.53 MB / 1.107 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.4829, allocations: 91.86 kB / 1.4 GB, free: 14.44 MB / 1.107 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.4831, allocations: 96.72 kB / 1.4 GB, free: 14.35 MB / 1.107 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.4832, allocations: 36 kB / 1.4 GB, free: 14.31 MB / 1.107 GB
Notification: Performance of sorting global known variables: time 0.0009154/0.4841, allocations: 0.6177 MB / 1.401 GB, free: 13.69 MB / 1.107 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.4841, allocations: 0 / 1.401 GB, free: 13.69 MB / 1.107 GB
Notification: Performance of remove unused functions: time 0.001575/0.4857, allocations: 395.9 kB / 1.401 GB, free: 13.3 MB / 1.107 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 23
 * 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 (109):
 * Single equations (assignments): 101
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002808/0.486, allocations: 147.7 kB / 1.401 GB, free: 13.15 MB / 1.107 GB
Notification: Performance of simCode: created initialization part: time 0.004014/0.49, allocations: 2.403 MB / 1.404 GB, free: 10.64 MB / 1.107 GB
Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.49, allocations: 0 / 1.404 GB, free: 10.64 MB / 1.107 GB
Notification: Performance of simCode: created simulation system equations: time 0.002416/0.4924, allocations: 1.59 MB / 1.405 GB, free: 8.953 MB / 1.107 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4944, allocations: 355.7 kB / 1.405 GB, free: 8.617 MB / 1.107 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.4996, allocations: 2.794 MB / 1.408 GB, free: 5.719 MB / 1.107 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.5008, allocations: 1.331 MB / 1.409 GB, free: 4.355 MB / 1.107 GB
Notification: Performance of simCode: alias equations: time 0.00112/0.5019, allocations: 363.3 kB / 1.41 GB, free: 3.996 MB / 1.107 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.5022, allocations: 95.42 kB / 1.41 GB, free: 3.906 MB / 1.107 GB
Notification: Performance of SimCode: time 1.262e-06/0.5022, allocations: 3.938 kB / 1.41 GB, free: 3.902 MB / 1.107 GB
Notification: Performance of Templates: time 0.03601/0.5382, allocations: 18.44 MB / 1.428 GB, free: 1.633 MB / 1.123 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.423650008626282]