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.00172/0.00172, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002064/0.002064, allocations: 211.2 kB / 23.02 MB, free: 4.926 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 2.96/2.96, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) [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.001878/0.001878, allocations: 70.61 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3215, allocations: 176.1 MB / 1.327 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1805/0.502, allocations: 157.8 MB / 1.481 GB, free: 2.938 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.518, allocations: 10.14 MB / 1.491 GB, free: 8.777 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.5209, allocations: 127.1 kB / 1.491 GB, free: 8.652 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005708/0.5266, allocations: 1.884 MB / 1.493 GB, free: 6.758 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.5315, allocations: 1.686 MB / 1.494 GB, free: 5.062 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.5339, allocations: 0.8131 MB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.5386, allocations: 3.191 MB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.5402, allocations: 0.8211 MB / 1.499 GB, free: 208 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.5428, allocations: 1.33 MB / 1.5 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.5454, allocations: 1.151 MB / 1.501 GB, free: 13.72 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.5459, allocations: 132 kB / 1.502 GB, free: 13.59 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.5481, allocations: 0.7794 MB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007892/0.5489, allocations: 497.9 kB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.5506, allocations: 0.8234 MB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.5558, allocations: 3.486 MB / 1.507 GB, free: 7.992 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5558, allocations: 7.922 kB / 1.507 GB, free: 7.984 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5558, allocations: 0 / 1.507 GB, free: 7.984 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.00012/0.5559, allocations: 0 / 1.507 GB, free: 7.984 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.005563/0.5615, allocations: 2.826 MB / 1.51 GB, free: 5.109 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5615, allocations: 16.02 kB / 1.51 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.543e-05/0.5616, allocations: 18 kB / 1.51 GB, free: 5.078 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/0.5618, allocations: 130.7 kB / 1.51 GB, free: 4.941 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.5635, allocations: 386 kB / 1.51 GB, free: 4.562 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/0.5678, allocations: 1.943 MB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.5678, allocations: 58 kB / 1.512 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.568, allocations: 75.95 kB / 1.512 GB, free: 2.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5698, allocations: 1.045 MB / 1.513 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5698, allocations: 0 / 1.513 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.5699, allocations: 35.94 kB / 1.513 GB, free: 1.277 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.5699, allocations: 25 kB / 1.513 GB, free: 1.254 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.5712, allocations: 0.7064 MB / 1.514 GB, free: 0.5469 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.006423/0.5776, allocations: 3.645 MB / 1.518 GB, free: 12.81 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.5781, allocations: 298.6 kB / 1.518 GB, free: 12.51 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.5784, allocations: 172.7 kB / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.5786, allocations: 23.98 kB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5786, allocations: 38.56 kB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.5786, allocations: 0 / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003523/0.5821, allocations: 1.608 MB / 1.52 GB, free: 10.62 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5822, allocations: 55.41 kB / 1.52 GB, free: 10.55 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.5869, allocations: 2.949 MB / 1.523 GB, free: 7.586 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.587, allocations: 29.7 kB / 1.523 GB, free: 7.551 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.5881, allocations: 1.075 MB / 1.524 GB, free: 6.473 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5882, allocations: 119 kB / 1.524 GB, free: 6.355 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.5884, allocations: 114.2 kB / 1.524 GB, free: 6.234 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5885, allocations: 333.9 kB / 1.524 GB, free: 5.902 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5888, allocations: 161.1 kB / 1.524 GB, free: 5.746 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.5893, allocations: 451.5 kB / 1.525 GB, free: 5.199 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.00217/0.5914, allocations: 0.995 MB / 1.526 GB, free: 4.117 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5914, allocations: 0 / 1.526 GB, free: 4.117 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001423/0.5929, allocations: 0.8096 MB / 1.527 GB, free: 3.297 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5929, allocations: 8 kB / 1.527 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5929, allocations: 4 kB / 1.527 GB, free: 3.285 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.5931, allocations: 65.31 kB / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.5935, allocations: 95.84 kB / 1.527 GB, free: 3.125 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.5952, allocations: 1.754 MB / 1.529 GB, free: 1.262 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.5962, allocations: 35.81 kB / 1.529 GB, free: 1.227 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.5963, allocations: 24 kB / 1.529 GB, free: 1.203 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.001131/0.5974, allocations: 0.7941 MB / 1.529 GB, free: 408 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.5978, allocations: 242.4 kB / 1.53 GB, free: 164 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.5984, allocations: 251.8 kB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5984, allocations: 4 kB / 1.53 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5984, allocations: 4 kB / 1.53 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007022/0.5991, allocations: 0.6008 MB / 1.53 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.6024, allocations: 1.885 MB / 1.532 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6024, allocations: 0 / 1.532 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.6027, allocations: 63.91 kB / 1.532 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.6029, allocations: 56.81 kB / 1.532 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.6029, allocations: 12 kB / 1.532 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.6045, allocations: 1.758 MB / 1.534 GB, free: 11.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.6045, allocations: 7.938 kB / 1.534 GB, free: 11.23 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.6058, allocations: 0.9279 MB / 1.535 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.6066, allocations: 347.5 kB / 1.535 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.6069, allocations: 16.25 kB / 1.535 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.6076, allocations: 24.53 kB / 1.535 GB, free: 9.855 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.6077, allocations: 27.91 kB / 1.535 GB, free: 9.828 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.6077, allocations: 15.98 kB / 1.535 GB, free: 9.812 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003329/0.6111, allocations: 2.087 MB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6111, allocations: 0 / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001163/0.6122, allocations: 296 kB / 1.538 GB, free: 7.434 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.00182/0.6141, allocations: 1.551 MB / 1.539 GB, free: 5.812 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.615, allocations: 0.5037 MB / 1.54 GB, free: 5.297 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.615, allocations: 4 kB / 1.54 GB, free: 5.293 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.6154, allocations: 303.4 kB / 1.54 GB, free: 4.984 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/0.6191, allocations: 0.9408 MB / 1.541 GB, free: 4.07 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.646, allocations: 17.15 MB / 1.558 GB, free: 2.508 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.648, allocations: 1.376 MB / 1.559 GB, free: 1.086 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001171/0.6492, allocations: 342.8 kB / 1.559 GB, free: 0.7461 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.6503, allocations: 0.7961 MB / 1.56 GB, free: 15.95 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/0.6503, allocations: 0 / 1.56 GB, free: 15.95 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7078/1.358, allocations: 55.17 MB / 1.614 GB, free: 273.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/16.35, allocations: 8.125 kB / 1.614 GB, free: 273.5 MB / 1.295 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 23.093824801035225]