Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001221/0.001221, allocations: 109 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.00129/0.00129, allocations: 193 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.292/1.292, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.843/2.843, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance")
translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 68.92 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 174.9 MB / 1.316 GB, free: 9.609 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1923/0.4842, allocations: 180.1 MB / 1.492 GB, free: 4.785 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01587/0.5, allocations: 11.06 MB / 1.503 GB, free: 9.695 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.5021, allocations: 127 kB / 1.503 GB, free: 9.57 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.004903/0.507, allocations: 2.04 MB / 1.505 GB, free: 7.52 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.003878/0.5109, allocations: 1.701 MB / 1.507 GB, free: 5.812 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.5128, allocations: 0.8289 MB / 1.507 GB, free: 4.984 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.00363/0.5164, allocations: 3.193 MB / 1.511 GB, free: 1.781 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5175, allocations: 0.8211 MB / 1.511 GB, free: 0.9297 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.5193, allocations: 1.33 MB / 1.513 GB, free: 15.59 MB / 1.217 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.5211, allocations: 1.159 MB / 1.514 GB, free: 14.43 MB / 1.217 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.5214, allocations: 124 kB / 1.514 GB, free: 14.31 MB / 1.217 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.5231, allocations: 0.9745 MB / 1.515 GB, free: 13.34 MB / 1.217 GB
Notification: Performance of NFScalarize.scalarize: time 0.000485/0.5236, allocations: 497.9 kB / 1.515 GB, free: 12.85 MB / 1.217 GB
Notification: Performance of NFVerifyModel.verify: time 0.001078/0.5247, allocations: 1.092 MB / 1.516 GB, free: 11.75 MB / 1.217 GB
Notification: Performance of NFConvertDAE.convert: time 0.003884/0.5286, allocations: 3.498 MB / 1.52 GB, free: 8.238 MB / 1.217 GB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5286, allocations: 0 / 1.52 GB, free: 8.238 MB / 1.217 GB
Notification: Performance of FrontEnd: time 1.223e-06/0.5286, allocations: 0 / 1.52 GB, free: 8.238 MB / 1.217 GB
Notification: Performance of Transformations before backend: time 2.092e-05/0.5286, allocations: 0 / 1.52 GB, free: 8.238 MB / 1.217 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 191
 * Number of variables: 191
Notification: Performance of Generate backend data structure: time 0.003937/0.5325, allocations: 2.828 MB / 1.523 GB, free: 5.363 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.5326, allocations: 8.031 kB / 1.523 GB, free: 5.355 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.5339, allocations: 390 kB / 1.523 GB, free: 4.973 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.5371, allocations: 1.94 MB / 1.525 GB, free: 2.977 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.5371, allocations: 58 kB / 1.525 GB, free: 2.918 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5372, allocations: 76 kB / 1.525 GB, free: 2.844 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.5387, allocations: 0.9446 MB / 1.526 GB, free: 1.855 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5387, allocations: 3.938 kB / 1.526 GB, free: 1.852 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.5388, allocations: 32 kB / 1.526 GB, free: 1.82 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5388, allocations: 28.94 kB / 1.526 GB, free: 1.793 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5399, allocations: 0.6986 MB / 1.527 GB, free: 1.094 MB / 1.217 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.005789/0.5457, allocations: 4.411 MB / 1.531 GB, free: 12.48 MB / 1.232 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.5462, allocations: 308.2 kB / 1.531 GB, free: 12.17 MB / 1.232 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.5464, allocations: 168.8 kB / 1.531 GB, free: 12 MB / 1.232 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.5466, allocations: 23.98 kB / 1.531 GB, free: 11.98 MB / 1.232 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5466, allocations: 38.56 kB / 1.531 GB, free: 11.93 MB / 1.232 GB
Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.5466, allocations: 0 / 1.531 GB, free: 11.93 MB / 1.232 GB
Notification: Performance of matching and sorting (n=32): time 0.002858/0.5495, allocations: 1.591 MB / 1.533 GB, free: 10.29 MB / 1.232 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.5495, allocations: 55.41 kB / 1.533 GB, free: 10.23 MB / 1.232 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.5531, allocations: 2.945 MB / 1.536 GB, free: 7.266 MB / 1.232 GB
Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5532, allocations: 37.7 kB / 1.536 GB, free: 7.223 MB / 1.232 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0009693/0.5541, allocations: 1.071 MB / 1.537 GB, free: 6.145 MB / 1.232 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5543, allocations: 123 kB / 1.537 GB, free: 6.023 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.5544, allocations: 106.2 kB / 1.537 GB, free: 5.91 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.0001293/0.5545, allocations: 329.9 kB / 1.538 GB, free: 5.582 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.5548, allocations: 165 kB / 1.538 GB, free: 5.422 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.5552, allocations: 370.4 kB / 1.538 GB, free: 4.977 MB / 1.232 GB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start)
Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.5574, allocations: 0.9987 MB / 1.539 GB, free: 3.895 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5574, allocations: 3.938 kB / 1.539 GB, free: 3.891 MB / 1.232 GB
Notification: Performance of matching and sorting (n=62) (initialization): time 0.001182/0.5585, allocations: 0.8129 MB / 1.54 GB, free: 3.066 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5586, allocations: 8 kB / 1.54 GB, free: 3.059 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5586, allocations: 4 kB / 1.54 GB, free: 3.055 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.5588, allocations: 64.81 kB / 1.54 GB, free: 2.988 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.5591, allocations: 99.84 kB / 1.54 GB, free: 2.891 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5607, allocations: 1.762 MB / 1.542 GB, free: 1.02 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5615, allocations: 23.98 kB / 1.542 GB, free: 0.9961 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.5615, allocations: 32 kB / 1.542 GB, free: 0.9648 MB / 1.232 GB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         air.vol.dynBal.medium.p = air.vol.dynBal.p_start.
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (58):
 * Single equations (assignments): 57
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.5625, allocations: 0.7956 MB / 1.543 GB, free: 164 kB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.5628, allocations: 246.4 kB / 1.543 GB, free: 15.91 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.5632, allocations: 255.6 kB / 1.543 GB, free: 15.66 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5632, allocations: 4.094 kB / 1.543 GB, free: 15.66 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5632, allocations: 0 / 1.543 GB, free: 15.66 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006988/0.5639, allocations: 0.6087 MB / 1.544 GB, free: 14.98 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.5668, allocations: 2.019 MB / 1.546 GB, free: 12.86 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5668, allocations: 4 kB / 1.546 GB, free: 12.86 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.5671, allocations: 67.91 kB / 1.546 GB, free: 12.79 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.5672, allocations: 57.23 kB / 1.546 GB, free: 12.73 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5673, allocations: 15.98 kB / 1.546 GB, free: 12.71 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.5688, allocations: 1.758 MB / 1.547 GB, free: 10.84 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5688, allocations: 7.938 kB / 1.547 GB, free: 10.83 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5699, allocations: 0.9309 MB / 1.548 GB, free: 9.844 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.5706, allocations: 351.4 kB / 1.549 GB, free: 9.5 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.5708, allocations: 8 kB / 1.549 GB, free: 9.492 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.5714, allocations: 15.98 kB / 1.549 GB, free: 9.477 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.5714, allocations: 35.89 kB / 1.549 GB, free: 9.441 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.5714, allocations: 16 kB / 1.549 GB, free: 9.426 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.002667/0.5741, allocations: 2.087 MB / 1.551 GB, free: 7.336 MB / 1.248 GB
Notification: Performance of sort global known variables: time 1.81e-07/0.5741, allocations: 0 / 1.551 GB, free: 7.336 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.0009301/0.575, allocations: 299.9 kB / 1.551 GB, free: 7.043 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U)
 * 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): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003995/0.5754, allocations: 166.6 kB / 1.551 GB, free: 6.879 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.0008728/0.5763, allocations: 0.5112 MB / 1.552 GB, free: 6.355 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5763, allocations: 4 kB / 1.552 GB, free: 6.352 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.5767, allocations: 298.8 kB / 1.552 GB, free: 6.047 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.58, allocations: 0.9516 MB / 1.553 GB, free: 5.125 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.5855, allocations: 4.214 MB / 1.557 GB, free: 0.8242 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.5872, allocations: 1.953 MB / 1.559 GB, free: 14.84 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.001233/0.5884, allocations: 342.8 kB / 1.559 GB, free: 14.5 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.5887, allocations: 103.4 kB / 1.559 GB, free: 14.39 MB / 1.264 GB
Notification: Performance of SimCode: time 1.343e-06/0.5887, allocations: 0 / 1.559 GB, free: 14.39 MB / 1.264 GB
Notification: Performance of Templates: time 0.05176/0.6404, allocations: 30.44 MB / 1.589 GB, free: 396 kB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 8.633945906534791]