Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001762/0.001762, 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.002391/0.002391, allocations: 190.3 kB / 22.1 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.471/1.471, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.217/3.217, allocations: 495.8 MB / 0.783 GB, free: 33.4 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003052/0.003052, allocations: 63.28 kB / 1.137 GB, free: 33.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.333, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2136/0.5466, allocations: 178.2 MB / 1.481 GB, free: 14.88 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01777/0.5644, allocations: 10.99 MB / 1.492 GB, free: 3.863 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.5672, allocations: 127.1 kB / 1.492 GB, free: 3.738 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.006405/0.5736, allocations: 2.044 MB / 1.494 GB, free: 1.684 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.005268/0.5789, allocations: 1.701 MB / 1.495 GB, free: 15.98 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5815, allocations: 0.8331 MB / 1.496 GB, free: 15.14 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.005252/0.5867, allocations: 3.187 MB / 1.499 GB, free: 11.95 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.5883, allocations: 0.8289 MB / 1.5 GB, free: 11.09 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.5907, allocations: 1.323 MB / 1.501 GB, free: 9.758 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.5933, allocations: 1.156 MB / 1.503 GB, free: 8.605 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.5936, allocations: 128 kB / 1.503 GB, free: 8.48 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.5955, allocations: 0.7755 MB / 1.503 GB, free: 7.703 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.5961, allocations: 482 kB / 1.504 GB, free: 7.23 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.001433/0.5975, allocations: 1.099 MB / 1.505 GB, free: 6.125 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.005159/0.6027, allocations: 3.471 MB / 1.508 GB, free: 2.641 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6027, allocations: 0 / 1.508 GB, free: 2.641 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.292e-06/0.6027, allocations: 0 / 1.508 GB, free: 2.641 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 5.785e-05/0.6027, allocations: 0 / 1.508 GB, free: 2.641 MB / 1.201 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.004607/0.6073, allocations: 2.819 MB / 1.511 GB, free: 15.77 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6074, allocations: 16.03 kB / 1.511 GB, free: 15.75 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6089, allocations: 385.8 kB / 1.511 GB, free: 15.38 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.6126, allocations: 1.94 MB / 1.513 GB, free: 13.38 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.6127, allocations: 65.88 kB / 1.513 GB, free: 13.32 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.6128, allocations: 76 kB / 1.514 GB, free: 13.24 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.6144, allocations: 0.9446 MB / 1.514 GB, free: 12.25 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.6145, allocations: 0 / 1.514 GB, free: 12.25 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.6145, allocations: 32 kB / 1.514 GB, free: 12.22 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.6146, allocations: 28.94 kB / 1.514 GB, free: 12.2 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.6159, allocations: 0.6985 MB / 1.515 GB, free: 11.5 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.006848/0.6227, allocations: 4.4 MB / 1.519 GB, free: 6.891 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.6233, allocations: 302.6 kB / 1.52 GB, free: 6.586 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6236, allocations: 172.8 kB / 1.52 GB, free: 6.414 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.6237, allocations: 19.98 kB / 1.52 GB, free: 6.395 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.6238, allocations: 34.56 kB / 1.52 GB, free: 6.352 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.6238, allocations: 7.938 kB / 1.52 GB, free: 6.344 MB / 1.217 GB
Notification: Performance of matching and sorting (n=32): time 0.003401/0.6272, allocations: 1.6 MB / 1.522 GB, free: 4.699 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.6272, allocations: 55.41 kB / 1.522 GB, free: 4.633 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/0.6317, allocations: 2.949 MB / 1.524 GB, free: 1.668 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.6318, allocations: 33.7 kB / 1.525 GB, free: 1.629 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.6329, allocations: 1.063 MB / 1.526 GB, free: 0.5586 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.6331, allocations: 123 kB / 1.526 GB, free: 448 kB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.6333, allocations: 110.2 kB / 1.526 GB, free: 328 kB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001565/0.6335, allocations: 330 kB / 1.526 GB, free: 15.99 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.6337, allocations: 165 kB / 1.526 GB, free: 15.83 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.6342, allocations: 366.4 kB / 1.527 GB, free: 15.39 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.002366/0.6366, allocations: 1.003 MB / 1.528 GB, free: 14.3 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6366, allocations: 4 kB / 1.528 GB, free: 14.3 MB / 1.232 GB
Notification: Performance of matching and sorting (n=62) (initialization): time 0.001524/0.6381, allocations: 0.8055 MB / 1.528 GB, free: 13.48 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6381, allocations: 8 kB / 1.528 GB, free: 13.47 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.6381, allocations: 8 kB / 1.528 GB, free: 13.46 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.6384, allocations: 65.38 kB / 1.528 GB, free: 13.4 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.6388, allocations: 115.7 kB / 1.529 GB, free: 13.29 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.6406, allocations: 1.754 MB / 1.53 GB, free: 11.42 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.6419, allocations: 31.88 kB / 1.53 GB, free: 11.39 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.6419, allocations: 24.09 kB / 1.53 GB, free: 11.37 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.001315/0.6432, allocations: 0.7978 MB / 1.531 GB, free: 10.56 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.6436, allocations: 246.4 kB / 1.531 GB, free: 10.32 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.6441, allocations: 255.7 kB / 1.532 GB, free: 10.06 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6441, allocations: 4 kB / 1.532 GB, free: 10.05 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6441, allocations: 0 / 1.532 GB, free: 10.05 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008157/0.6449, allocations: 0.597 MB / 1.532 GB, free: 9.387 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.6486, allocations: 2.022 MB / 1.534 GB, free: 7.266 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.6486, allocations: 4 kB / 1.534 GB, free: 7.262 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.649, allocations: 67.91 kB / 1.534 GB, free: 7.195 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.6491, allocations: 56.94 kB / 1.534 GB, free: 7.137 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.6492, allocations: 12 kB / 1.534 GB, free: 7.125 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.651, allocations: 1.758 MB / 1.536 GB, free: 5.254 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.651, allocations: 4 kB / 1.536 GB, free: 5.25 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.6524, allocations: 0.9369 MB / 1.537 GB, free: 4.254 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008154/0.6533, allocations: 355.4 kB / 1.537 GB, free: 3.906 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.6535, allocations: 8 kB / 1.537 GB, free: 3.898 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.6541, allocations: 20.05 kB / 1.537 GB, free: 3.879 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.6542, allocations: 35.83 kB / 1.537 GB, free: 3.844 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.6542, allocations: 12 kB / 1.537 GB, free: 3.832 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.003325/0.6575, allocations: 2.083 MB / 1.539 GB, free: 1.746 MB / 1.232 GB
Notification: Performance of sort global known variables: time 8e-08/0.6575, allocations: 0 / 1.539 GB, free: 1.746 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.001193/0.6587, allocations: 303.9 kB / 1.54 GB, free: 1.449 MB / 1.232 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.0004565/0.6592, allocations: 174.7 kB / 1.54 GB, free: 1.281 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.0009889/0.6602, allocations: 0.5072 MB / 1.54 GB, free: 0.7617 MB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6602, allocations: 4 kB / 1.54 GB, free: 0.7578 MB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.6606, allocations: 299.8 kB / 1.541 GB, free: 464 kB / 1.232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/0.6645, allocations: 0.9516 MB / 1.542 GB, free: 15.53 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/0.6711, allocations: 4.216 MB / 1.546 GB, free: 11.22 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.6731, allocations: 1.949 MB / 1.548 GB, free: 9.238 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.001171/0.6742, allocations: 338.9 kB / 1.548 GB, free: 8.902 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.6745, allocations: 103.4 kB / 1.548 GB, free: 8.801 MB / 1.248 GB
Notification: Performance of SimCode: time 8.41e-07/0.6745, allocations: 0 / 1.548 GB, free: 8.801 MB / 1.248 GB
Notification: Performance of Templates: time 0.06009/0.7346, allocations: 30.45 MB / 1.578 GB, free: 10.8 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.787683926522732]