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.001908/0.001908, allocations: 107.9 kB / 16.46 MB, free: 6.035 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.00204/0.00204, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.323/1.323, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 72.56 kB / 1.134 GB, free: 33.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 173.9 MB / 1.304 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2004/0.5099, allocations: 179.9 MB / 1.48 GB, free: 12.69 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.5279, allocations: 11.02 MB / 1.491 GB, free: 1.637 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.5308, allocations: 95.5 kB / 1.491 GB, free: 1.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005924/0.5367, allocations: 2.013 MB / 1.493 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.5417, allocations: 1.678 MB / 1.494 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.5444, allocations: 0.7828 MB / 1.495 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004969/0.5493, allocations: 3.149 MB / 1.498 GB, free: 9.891 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.5513, allocations: 1.047 MB / 1.499 GB, free: 8.812 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.5539, allocations: 1.284 MB / 1.5 GB, free: 7.523 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.5565, allocations: 1.155 MB / 1.501 GB, free: 6.367 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005192/0.557, allocations: 124 kB / 1.502 GB, free: 6.246 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.5594, allocations: 0.9589 MB / 1.503 GB, free: 5.285 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000773/0.5601, allocations: 493.9 kB / 1.503 GB, free: 4.801 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.562, allocations: 1.095 MB / 1.504 GB, free: 3.699 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.5678, allocations: 3.494 MB / 1.507 GB, free: 196 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.5678, allocations: 0 / 1.507 GB, free: 196 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5678, allocations: 0 / 1.507 GB, free: 196 kB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001116/0.5679, allocations: 0 / 1.507 GB, free: 196 kB / 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.005818/0.5737, allocations: 2.892 MB / 1.51 GB, free: 13.23 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5738, allocations: 8.625 kB / 1.51 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.574, allocations: 126.7 kB / 1.51 GB, free: 13.09 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5757, allocations: 397.9 kB / 1.511 GB, free: 12.7 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.58, allocations: 2.047 MB / 1.513 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.5801, allocations: 58 kB / 1.513 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.5803, allocations: 72 kB / 1.513 GB, free: 10.46 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5819, allocations: 0.9445 MB / 1.514 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.582, allocations: 0 / 1.514 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.582, allocations: 32 kB / 1.514 GB, free: 9.449 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.5821, allocations: 28.94 kB / 1.514 GB, free: 9.418 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.5833, allocations: 0.6985 MB / 1.515 GB, free: 8.723 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.007169/0.5905, allocations: 4.457 MB / 1.519 GB, free: 4.051 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.591, allocations: 303.1 kB / 1.519 GB, free: 3.746 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.5913, allocations: 178.7 kB / 1.519 GB, free: 3.57 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.5914, allocations: 93.09 kB / 1.519 GB, free: 3.461 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.5915, allocations: 42.5 kB / 1.52 GB, free: 3.41 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.5915, allocations: 0 / 1.52 GB, free: 3.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003514/0.595, allocations: 1.736 MB / 1.521 GB, free: 1.594 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.595, allocations: 59.39 kB / 1.521 GB, free: 1.523 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.5999, allocations: 2.949 MB / 1.524 GB, free: 14.56 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.6, allocations: 37.64 kB / 1.524 GB, free: 14.52 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.6011, allocations: 1.071 MB / 1.525 GB, free: 13.44 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6012, allocations: 123 kB / 1.525 GB, free: 13.32 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.6014, allocations: 114.1 kB / 1.525 GB, free: 13.2 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6016, allocations: 330 kB / 1.526 GB, free: 12.87 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.6018, allocations: 165 kB / 1.526 GB, free: 12.71 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.6023, allocations: 362.4 kB / 1.526 GB, free: 12.27 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.002178/0.6044, allocations: 1.084 MB / 1.527 GB, free: 11.08 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6044, allocations: 3.938 kB / 1.527 GB, free: 11.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001443/0.6059, allocations: 0.8017 MB / 1.528 GB, free: 10.26 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6059, allocations: 8 kB / 1.528 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6059, allocations: 8 kB / 1.528 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.6061, allocations: 65.3 kB / 1.528 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.6065, allocations: 107.8 kB / 1.528 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6082, allocations: 1.861 MB / 1.53 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/0.6092, allocations: 29.77 kB / 1.53 GB, free: 8.051 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.6092, allocations: 24 kB / 1.53 GB, free: 8.027 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.001189/0.6104, allocations: 0.7901 MB / 1.531 GB, free: 7.227 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/0.6109, allocations: 242.4 kB / 1.531 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.6115, allocations: 259.8 kB / 1.531 GB, free: 6.734 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6115, allocations: 7.984 kB / 1.531 GB, free: 6.727 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6115, allocations: 3.938 kB / 1.531 GB, free: 6.723 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007226/0.6122, allocations: 0.5973 MB / 1.532 GB, free: 6.055 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.6161, allocations: 2.044 MB / 1.534 GB, free: 3.902 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6161, allocations: 0 / 1.534 GB, free: 3.902 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.6164, allocations: 67.91 kB / 1.534 GB, free: 3.836 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.6166, allocations: 56.81 kB / 1.534 GB, free: 3.777 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.6166, allocations: 15.94 kB / 1.534 GB, free: 3.762 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.6183, allocations: 1.861 MB / 1.536 GB, free: 1.762 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.6183, allocations: 7.984 kB / 1.536 GB, free: 1.754 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6196, allocations: 0.937 MB / 1.537 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/0.6206, allocations: 415.4 kB / 1.537 GB, free: 340 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.6209, allocations: 12 kB / 1.537 GB, free: 328 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.6217, allocations: 26.97 kB / 1.537 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.6217, allocations: 39.78 kB / 1.537 GB, free: 264 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.6218, allocations: 16 kB / 1.537 GB, free: 248 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003738/0.6255, allocations: 2.083 MB / 1.539 GB, free: 14.16 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6255, allocations: 0 / 1.539 GB, free: 14.16 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001303/0.6268, allocations: 300 kB / 1.54 GB, free: 13.86 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.002106/0.6289, allocations: 1.555 MB / 1.541 GB, free: 12.25 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.6299, allocations: 0.5074 MB / 1.542 GB, free: 11.73 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6299, allocations: 0 / 1.542 GB, free: 11.73 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.6304, allocations: 302.3 kB / 1.542 GB, free: 11.42 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/0.6343, allocations: 0.9501 MB / 1.543 GB, free: 10.49 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/0.6631, allocations: 17.16 MB / 1.56 GB, free: 8.922 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/0.6654, allocations: 1.957 MB / 1.562 GB, free: 6.93 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001167/0.6665, allocations: 338.9 kB / 1.562 GB, free: 6.594 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.6676, allocations: 0.8077 MB / 1.563 GB, free: 5.785 MB / 1.264 GB Notification: Performance of SimCode: time 1.262e-06/0.6676, allocations: 0 / 1.563 GB, free: 5.785 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6976/1.365, allocations: 51.42 MB / 1.613 GB, free: 285 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.77, allocations: 8.172 kB / 1.613 GB, free: 285 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.109764622990042]