Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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: 114.3 kB / 18.94 MB, free: 2.934 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.00229/0.00229, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.671/2.671, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",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.00194/0.00194, allocations: 67.59 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3119, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2118/0.5238, allocations: 183 MB / 1.462 GB, free: 3.988 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.5422, allocations: 11.07 MB / 1.473 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.5452, allocations: 130.9 kB / 1.473 GB, free: 8.762 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00623/0.5514, allocations: 2.056 MB / 1.475 GB, free: 6.695 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.5567, allocations: 1.702 MB / 1.477 GB, free: 4.984 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.5595, allocations: 0.8254 MB / 1.478 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005428/0.5649, allocations: 3.184 MB / 1.481 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.5668, allocations: 0.8289 MB / 1.482 GB, free: 100 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.5694, allocations: 1.194 MB / 1.483 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.5721, allocations: 1.152 MB / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.5727, allocations: 127.9 kB / 1.484 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.5752, allocations: 0.9939 MB / 1.485 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008223/0.5761, allocations: 489.9 kB / 1.485 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.5781, allocations: 1.091 MB / 1.486 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006039/0.5841, allocations: 3.502 MB / 1.49 GB, free: 7.535 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5841, allocations: 3.938 kB / 1.49 GB, free: 7.531 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5841, allocations: 4 kB / 1.49 GB, free: 7.527 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001267/0.5843, allocations: 0 / 1.49 GB, free: 7.527 MB / 1.186 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.005951/0.5902, allocations: 2.826 MB / 1.493 GB, free: 4.652 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5903, allocations: 12.03 kB / 1.493 GB, free: 4.641 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.5905, allocations: 130.7 kB / 1.493 GB, free: 4.504 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.5921, allocations: 390 kB / 1.493 GB, free: 4.121 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.596, allocations: 1.951 MB / 1.495 GB, free: 2.117 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.5961, allocations: 58 kB / 1.495 GB, free: 2.059 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.5962, allocations: 75.95 kB / 1.495 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5977, allocations: 0.9407 MB / 1.496 GB, free: 1.004 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5977, allocations: 3.938 kB / 1.496 GB, free: 1 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.5978, allocations: 32 kB / 1.496 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.5978, allocations: 36.92 kB / 1.496 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.5989, allocations: 0.6947 MB / 1.497 GB, free: 244 kB / 1.186 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.006805/0.6057, allocations: 4.403 MB / 1.501 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.6063, allocations: 295.1 kB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.6065, allocations: 172.8 kB / 1.502 GB, free: 11.15 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.6067, allocations: 15.98 kB / 1.502 GB, free: 11.14 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.6067, allocations: 46.55 kB / 1.502 GB, free: 11.08 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.6067, allocations: 0 / 1.502 GB, free: 11.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003498/0.6102, allocations: 1.595 MB / 1.503 GB, free: 9.445 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6103, allocations: 55.41 kB / 1.503 GB, free: 9.379 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.6153, allocations: 2.945 MB / 1.506 GB, free: 6.418 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.6154, allocations: 29.7 kB / 1.506 GB, free: 6.383 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.6165, allocations: 1.078 MB / 1.507 GB, free: 5.297 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.6167, allocations: 115 kB / 1.507 GB, free: 5.184 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.6169, allocations: 122.2 kB / 1.507 GB, free: 5.059 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6171, allocations: 326 kB / 1.508 GB, free: 4.734 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.6173, allocations: 165 kB / 1.508 GB, free: 4.574 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.6178, allocations: 374.5 kB / 1.508 GB, free: 4.121 MB / 1.201 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.002188/0.62, allocations: 1.009 MB / 1.509 GB, free: 3.027 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.62, allocations: 0 / 1.509 GB, free: 3.027 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001472/0.6215, allocations: 0.8017 MB / 1.51 GB, free: 2.215 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6215, allocations: 8.781 kB / 1.51 GB, free: 2.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6215, allocations: 4 kB / 1.51 GB, free: 2.203 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.6217, allocations: 64.81 kB / 1.51 GB, free: 2.137 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.6221, allocations: 103.8 kB / 1.51 GB, free: 2.035 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.6239, allocations: 1.754 MB / 1.512 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.6248, allocations: 29.77 kB / 1.512 GB, free: 148 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.6249, allocations: 35.92 kB / 1.512 GB, free: 112 kB / 1.201 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.001292/0.6262, allocations: 0.7902 MB / 1.513 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/0.6266, allocations: 246.4 kB / 1.513 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.6272, allocations: 255.7 kB / 1.513 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6272, allocations: 4 kB / 1.513 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6273, allocations: 0 / 1.513 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007508/0.628, allocations: 0.597 MB / 1.514 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.632, allocations: 2.031 MB / 1.516 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.632, allocations: 4 kB / 1.516 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.6323, allocations: 63.91 kB / 1.516 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.6325, allocations: 52.83 kB / 1.516 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.6325, allocations: 12.12 kB / 1.516 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.6342, allocations: 1.766 MB / 1.518 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6342, allocations: 12 kB / 1.518 GB, free: 9.988 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.6356, allocations: 0.938 MB / 1.519 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/0.6365, allocations: 351.5 kB / 1.519 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.6369, allocations: 16 kB / 1.519 GB, free: 8.629 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.6377, allocations: 15.98 kB / 1.519 GB, free: 8.613 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.6377, allocations: 35.78 kB / 1.519 GB, free: 8.578 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6378, allocations: 15.98 kB / 1.519 GB, free: 8.562 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003782/0.6415, allocations: 2.083 MB / 1.521 GB, free: 6.477 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6415, allocations: 0 / 1.521 GB, free: 6.477 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001317/0.6429, allocations: 304 kB / 1.521 GB, free: 6.18 MB / 1.217 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.002015/0.6449, allocations: 1.538 MB / 1.523 GB, free: 4.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.6459, allocations: 0.5035 MB / 1.523 GB, free: 4.055 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6459, allocations: 0 / 1.523 GB, free: 4.055 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.6464, allocations: 294.4 kB / 1.524 GB, free: 3.754 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/0.6503, allocations: 0.947 MB / 1.525 GB, free: 2.828 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/0.68, allocations: 17.17 MB / 1.541 GB, free: 1.25 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/0.6824, allocations: 1.953 MB / 1.543 GB, free: 15.26 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001216/0.6836, allocations: 346.8 kB / 1.544 GB, free: 14.92 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.6848, allocations: 0.7961 MB / 1.544 GB, free: 14.12 MB / 1.248 GB Notification: Performance of SimCode: time 1.282e-06/0.6848, allocations: 0 / 1.544 GB, free: 14.12 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.7967, allocations: 51.77 MB / 1.595 GB, free: 11 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.6, allocations: 4 kB / 1.595 GB, free: 11 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.665115220937878]