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.001739/0.001739, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00206/0.00206, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.532/2.532, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_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.001906/0.001906, allocations: 63.86 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2958, allocations: 170 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1843/0.4802, allocations: 157.8 MB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.4962, allocations: 10.14 MB / 1.448 GB, free: 2.031 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.4991, allocations: 127 kB / 1.448 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00555/0.5047, allocations: 1.896 MB / 1.45 GB, free: 0 / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.5096, allocations: 1.678 MB / 1.452 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.512, allocations: 0.8111 MB / 1.453 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004775/0.5167, allocations: 3.177 MB / 1.456 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.5181, allocations: 0.8251 MB / 1.457 GB, free: 9.453 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.5201, allocations: 1.194 MB / 1.458 GB, free: 8.254 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.5225, allocations: 1.144 MB / 1.459 GB, free: 7.109 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000335/0.5228, allocations: 128 kB / 1.459 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.5247, allocations: 0.7872 MB / 1.46 GB, free: 6.195 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.5252, allocations: 0.49 MB / 1.46 GB, free: 5.703 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.5263, allocations: 0.8312 MB / 1.461 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.5307, allocations: 3.478 MB / 1.464 GB, free: 1.375 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5307, allocations: 0 / 1.464 GB, free: 1.375 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5307, allocations: 3.938 kB / 1.464 GB, free: 1.371 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.201e-05/0.5307, allocations: 0 / 1.464 GB, free: 1.371 MB / 1.154 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.004182/0.5349, allocations: 2.823 MB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.535, allocations: 8.031 kB / 1.467 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.094e-05/0.535, allocations: 29.94 kB / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.5352, allocations: 122.7 kB / 1.467 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.5366, allocations: 394 kB / 1.468 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.5399, allocations: 1.932 MB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.54, allocations: 62 kB / 1.47 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5401, allocations: 80 kB / 1.47 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5417, allocations: 1.033 MB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5417, allocations: 4 kB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.5418, allocations: 39.92 kB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.5418, allocations: 29 kB / 1.471 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5429, allocations: 0.6985 MB / 1.471 GB, free: 9.953 MB / 1.17 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.005617/0.5485, allocations: 3.665 MB / 1.475 GB, free: 6.191 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.549, allocations: 290.7 kB / 1.475 GB, free: 5.898 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.5493, allocations: 177.5 kB / 1.475 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.5494, allocations: 23.92 kB / 1.475 GB, free: 5.699 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5494, allocations: 34.56 kB / 1.476 GB, free: 5.656 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.906e-06/0.5494, allocations: 0 / 1.476 GB, free: 5.656 MB / 1.17 GB Notification: Performance of matching and sorting (n=32): time 0.003125/0.5526, allocations: 1.592 MB / 1.477 GB, free: 4.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5526, allocations: 59.34 kB / 1.477 GB, free: 3.953 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.5563, allocations: 2.949 MB / 1.48 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.5564, allocations: 41.64 kB / 1.48 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/0.5574, allocations: 1.075 MB / 1.481 GB, free: 15.86 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5575, allocations: 115 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.5577, allocations: 114.2 kB / 1.481 GB, free: 15.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5578, allocations: 329.9 kB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.5581, allocations: 161.1 kB / 1.482 GB, free: 15.15 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.5586, allocations: 455.4 kB / 1.482 GB, free: 14.6 MB / 1.186 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.002152/0.5607, allocations: 1.006 MB / 1.483 GB, free: 13.51 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5607, allocations: 4 kB / 1.483 GB, free: 13.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001343/0.5621, allocations: 0.7937 MB / 1.484 GB, free: 12.7 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5621, allocations: 11.94 kB / 1.484 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5621, allocations: 11.98 kB / 1.484 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.5623, allocations: 68.69 kB / 1.484 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.5627, allocations: 99.84 kB / 1.484 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.5643, allocations: 1.742 MB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000941/0.5653, allocations: 39.88 kB / 1.486 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.5653, allocations: 24 kB / 1.486 GB, free: 10.59 MB / 1.186 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.001157/0.5665, allocations: 0.7939 MB / 1.487 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.5668, allocations: 242.4 kB / 1.487 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.5672, allocations: 255.7 kB / 1.487 GB, free: 9.297 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5672, allocations: 4 kB / 1.487 GB, free: 9.293 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5672, allocations: 0 / 1.487 GB, free: 9.293 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007158/0.5679, allocations: 0.6048 MB / 1.488 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.5708, allocations: 1.868 MB / 1.49 GB, free: 6.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5708, allocations: 8.031 kB / 1.49 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.5711, allocations: 67.91 kB / 1.49 GB, free: 6.574 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.5713, allocations: 56.75 kB / 1.49 GB, free: 6.516 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.5713, allocations: 16 kB / 1.49 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.5729, allocations: 1.738 MB / 1.491 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5729, allocations: 4 kB / 1.491 GB, free: 4.645 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5741, allocations: 0.9414 MB / 1.492 GB, free: 3.645 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/0.5749, allocations: 355.4 kB / 1.493 GB, free: 3.293 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.5751, allocations: 8 kB / 1.493 GB, free: 3.285 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.5756, allocations: 19.92 kB / 1.493 GB, free: 3.266 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.5757, allocations: 31.89 kB / 1.493 GB, free: 3.234 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.5757, allocations: 16 kB / 1.493 GB, free: 3.219 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002902/0.5786, allocations: 2.087 MB / 1.495 GB, free: 1.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5786, allocations: 4.062 kB / 1.495 GB, free: 1.125 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001053/0.5797, allocations: 296 kB / 1.495 GB, free: 0.8359 MB / 1.186 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.001749/0.5814, allocations: 1.549 MB / 1.497 GB, free: 15.22 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.5824, allocations: 0.5184 MB / 1.497 GB, free: 14.69 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5824, allocations: 0 / 1.497 GB, free: 14.69 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.5828, allocations: 292.5 kB / 1.497 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.5863, allocations: 0.9497 MB / 1.498 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.6111, allocations: 17.15 MB / 1.515 GB, free: 11.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.6126, allocations: 1.38 MB / 1.516 GB, free: 10.48 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001113/0.6137, allocations: 342.8 kB / 1.517 GB, free: 10.14 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009825/0.6147, allocations: 0.8078 MB / 1.518 GB, free: 9.332 MB / 1.217 GB Notification: Performance of SimCode: time 9.12e-07/0.6147, allocations: 0 / 1.518 GB, free: 9.332 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09857/0.7132, allocations: 55.15 MB / 1.571 GB, free: 3.277 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/15.97, allocations: 11.92 kB / 1.571 GB, free: 3.266 MB / 1.264 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.492778289015405]