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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.184/3.184, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.95 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.309, allocations: 176.1 MB / 1.326 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2016/0.5106, allocations: 158 MB / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.528, allocations: 10.16 MB / 1.49 GB, free: 8.977 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.5306, allocations: 130.9 kB / 1.49 GB, free: 8.848 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006042/0.5367, allocations: 1.881 MB / 1.492 GB, free: 6.957 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.5419, allocations: 1.678 MB / 1.493 GB, free: 5.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.5444, allocations: 0.8126 MB / 1.494 GB, free: 4.461 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.5492, allocations: 3.17 MB / 1.497 GB, free: 1.281 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.5507, allocations: 0.9534 MB / 1.498 GB, free: 304 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.5531, allocations: 1.334 MB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.5557, allocations: 1.144 MB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.5561, allocations: 128 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.5587, allocations: 0.7716 MB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.5594, allocations: 489.9 kB / 1.502 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.5609, allocations: 0.8312 MB / 1.503 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.5668, allocations: 3.494 MB / 1.506 GB, free: 8.094 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5668, allocations: 3.938 kB / 1.506 GB, free: 8.09 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5668, allocations: 0 / 1.506 GB, free: 8.09 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.069e-05/0.5669, allocations: 0 / 1.506 GB, free: 8.09 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.004839/0.5717, allocations: 2.82 MB / 1.509 GB, free: 5.223 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5718, allocations: 12.02 kB / 1.509 GB, free: 5.211 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.5733, allocations: 386 kB / 1.509 GB, free: 4.832 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.5771, allocations: 1.951 MB / 1.511 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.5772, allocations: 58 kB / 1.511 GB, free: 2.766 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.5773, allocations: 80 kB / 1.511 GB, free: 2.688 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.579, allocations: 1.041 MB / 1.512 GB, free: 1.578 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.579, allocations: 7.938 kB / 1.512 GB, free: 1.57 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.5791, allocations: 32 kB / 1.512 GB, free: 1.539 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.5791, allocations: 32.92 kB / 1.512 GB, free: 1.508 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5803, allocations: 0.6908 MB / 1.513 GB, free: 0.8164 MB / 1.201 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.005816/0.5861, allocations: 3.474 MB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.5867, allocations: 306.7 kB / 1.517 GB, free: 12.96 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.5869, allocations: 168.8 kB / 1.517 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.5871, allocations: 16 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5871, allocations: 43.05 kB / 1.517 GB, free: 12.72 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.5871, allocations: 0 / 1.517 GB, free: 12.72 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003135/0.5902, allocations: 1.584 MB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5903, allocations: 59.41 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.594, allocations: 2.745 MB / 1.521 GB, free: 8.266 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5941, allocations: 33.7 kB / 1.521 GB, free: 8.227 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.5951, allocations: 1.058 MB / 1.522 GB, free: 7.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5952, allocations: 126.9 kB / 1.523 GB, free: 7.035 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.5954, allocations: 110.2 kB / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5956, allocations: 326 kB / 1.523 GB, free: 6.594 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.5959, allocations: 165 kB / 1.523 GB, free: 6.434 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.5963, allocations: 448 kB / 1.524 GB, free: 5.895 MB / 1.217 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.002239/0.5986, allocations: 0.995 MB / 1.524 GB, free: 4.812 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5986, allocations: 0 / 1.524 GB, free: 4.812 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001314/0.5999, allocations: 0.7945 MB / 1.525 GB, free: 4.008 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5999, allocations: 8 kB / 1.525 GB, free: 4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5999, allocations: 11.94 kB / 1.525 GB, free: 3.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.6001, allocations: 64.81 kB / 1.525 GB, free: 3.922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.6005, allocations: 99.83 kB / 1.525 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6023, allocations: 1.727 MB / 1.527 GB, free: 2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.6031, allocations: 32.02 kB / 1.527 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.6031, allocations: 24.11 kB / 1.527 GB, free: 1.945 MB / 1.217 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.001141/0.6043, allocations: 0.7979 MB / 1.528 GB, free: 1.137 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.6046, allocations: 230.5 kB / 1.528 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.6049, allocations: 234.2 kB / 1.528 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6049, allocations: 4 kB / 1.528 GB, free: 0.668 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6049, allocations: 0 / 1.528 GB, free: 0.668 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007831/0.6057, allocations: 0.6009 MB / 1.529 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.6088, allocations: 1.784 MB / 1.531 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.6088, allocations: 4.406 kB / 1.531 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.6091, allocations: 71.91 kB / 1.531 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.6093, allocations: 56.75 kB / 1.531 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.6093, allocations: 12 kB / 1.531 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.6109, allocations: 1.723 MB / 1.533 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.611, allocations: 12 kB / 1.533 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.6122, allocations: 0.9194 MB / 1.533 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.613, allocations: 335.5 kB / 1.534 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6132, allocations: 12 kB / 1.534 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.6138, allocations: 8.047 kB / 1.534 GB, free: 10.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6138, allocations: 39.81 kB / 1.534 GB, free: 10.78 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.6139, allocations: 19.98 kB / 1.534 GB, free: 10.76 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003505/0.6174, allocations: 1.93 MB / 1.536 GB, free: 8.824 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6174, allocations: 0 / 1.536 GB, free: 8.824 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001262/0.6186, allocations: 304 kB / 1.536 GB, free: 8.527 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.0004148/0.619, allocations: 151.1 kB / 1.536 GB, free: 8.371 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.6202, allocations: 0.523 MB / 1.537 GB, free: 7.836 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.6203, allocations: 0 / 1.537 GB, free: 7.836 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.6207, allocations: 296.3 kB / 1.537 GB, free: 7.535 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.6243, allocations: 0.8552 MB / 1.538 GB, free: 6.707 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.6315, allocations: 4.177 MB / 1.542 GB, free: 2.441 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.6337, allocations: 1.388 MB / 1.543 GB, free: 1.008 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6349, allocations: 313.3 kB / 1.544 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.6352, allocations: 95.38 kB / 1.544 GB, free: 0.6016 MB / 1.232 GB Notification: Performance of SimCode: time 1.162e-06/0.6352, allocations: 4 kB / 1.544 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of Templates: time 0.05559/0.6908, allocations: 31.91 MB / 1.575 GB, free: 1.344 MB / 1.264 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.53886186517775]