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.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.001246/0.001246, allocations: 110.9 kB / 16.46 MB, free: 6.504 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.001258/0.001258, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.349/1.349, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 63.89 kB / 1.104 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7756, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1972/0.9728, allocations: 179.9 MB / 1.445 GB, free: 0.582 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.9896, allocations: 11 MB / 1.455 GB, free: 5.551 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.9925, allocations: 95.5 kB / 1.455 GB, free: 5.457 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005657/0.9982, allocations: 2.028 MB / 1.457 GB, free: 3.418 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/1.003, allocations: 1.663 MB / 1.459 GB, free: 1.746 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/1.006, allocations: 0.7951 MB / 1.46 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004895/1.01, allocations: 3.147 MB / 1.463 GB, free: 13.79 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/1.012, allocations: 1.047 MB / 1.464 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/1.014, allocations: 1.155 MB / 1.465 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/1.017, allocations: 1.153 MB / 1.466 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000387/1.017, allocations: 128 kB / 1.466 GB, free: 10.28 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/1.019, allocations: 0.9627 MB / 1.467 GB, free: 9.316 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/1.02, allocations: 489.9 kB / 1.468 GB, free: 8.836 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.021, allocations: 1.099 MB / 1.469 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005078/1.026, allocations: 3.498 MB / 1.472 GB, free: 4.219 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.026, allocations: 0 / 1.472 GB, free: 4.219 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/1.026, allocations: 0 / 1.472 GB, free: 4.219 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.515e-05/1.026, allocations: 0 / 1.472 GB, free: 4.219 MB / 1.17 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.004721/1.031, allocations: 2.889 MB / 1.475 GB, free: 1.266 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.031, allocations: 12.03 kB / 1.475 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/1.031, allocations: 126.7 kB / 1.475 GB, free: 1.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/1.033, allocations: 386 kB / 1.475 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/1.036, allocations: 2.039 MB / 1.477 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/1.037, allocations: 58 kB / 1.477 GB, free: 14.58 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.037, allocations: 79.98 kB / 1.478 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.038, allocations: 0.9445 MB / 1.478 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.038, allocations: 0 / 1.478 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/1.038, allocations: 39.98 kB / 1.478 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/1.038, allocations: 28.94 kB / 1.479 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.039, allocations: 0.6947 MB / 1.479 GB, free: 12.75 MB / 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.006691/1.046, allocations: 4.453 MB / 1.484 GB, free: 8.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/1.047, allocations: 306.6 kB / 1.484 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.047, allocations: 168.8 kB / 1.484 GB, free: 7.613 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.047, allocations: 97.09 kB / 1.484 GB, free: 7.5 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.047, allocations: 38.5 kB / 1.484 GB, free: 7.453 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/1.047, allocations: 0 / 1.484 GB, free: 7.453 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.003458/1.051, allocations: 1.746 MB / 1.486 GB, free: 5.625 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.051, allocations: 59.41 kB / 1.486 GB, free: 5.555 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.055, allocations: 2.949 MB / 1.489 GB, free: 2.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/1.055, allocations: 29.7 kB / 1.489 GB, free: 2.555 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.056, allocations: 1.067 MB / 1.49 GB, free: 1.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.056, allocations: 126.9 kB / 1.49 GB, free: 1.355 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/1.056, allocations: 106.2 kB / 1.49 GB, free: 1.246 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.056, allocations: 330 kB / 1.49 GB, free: 0.918 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/1.057, allocations: 169 kB / 1.491 GB, free: 0.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/1.057, allocations: 370.4 kB / 1.491 GB, free: 312 kB / 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.002162/1.059, allocations: 1.082 MB / 1.492 GB, free: 15.12 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.059, allocations: 0 / 1.492 GB, free: 15.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0014/1.061, allocations: 0.8089 MB / 1.493 GB, free: 14.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.061, allocations: 8 kB / 1.493 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.061, allocations: 4 kB / 1.493 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/1.061, allocations: 64.81 kB / 1.493 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/1.061, allocations: 103.8 kB / 1.493 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/1.063, allocations: 1.862 MB / 1.495 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/1.064, allocations: 31.98 kB / 1.495 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/1.064, allocations: 24 kB / 1.495 GB, free: 12.07 MB / 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.001233/1.065, allocations: 0.7926 MB / 1.496 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/1.065, allocations: 246.4 kB / 1.496 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/1.066, allocations: 251.7 kB / 1.496 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.066, allocations: 4 kB / 1.496 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.066, allocations: 8 kB / 1.496 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007321/1.067, allocations: 0.597 MB / 1.497 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/1.07, allocations: 2.04 MB / 1.499 GB, free: 7.953 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.07, allocations: 4.406 kB / 1.499 GB, free: 7.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/1.07, allocations: 67.91 kB / 1.499 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/1.07, allocations: 60.81 kB / 1.499 GB, free: 7.82 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/1.071, allocations: 8 kB / 1.499 GB, free: 7.812 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.072, allocations: 1.869 MB / 1.501 GB, free: 5.797 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.072, allocations: 7.938 kB / 1.501 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/1.074, allocations: 0.9281 MB / 1.501 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/1.074, allocations: 427.4 kB / 1.502 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.075, allocations: 11.98 kB / 1.502 GB, free: 4.352 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/1.075, allocations: 12 kB / 1.502 GB, free: 4.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/1.075, allocations: 35.91 kB / 1.502 GB, free: 4.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/1.075, allocations: 16 kB / 1.502 GB, free: 4.289 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003149/1.078, allocations: 2.087 MB / 1.504 GB, free: 2.199 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.21e-07/1.078, allocations: 0 / 1.504 GB, free: 2.199 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001186/1.08, allocations: 303.9 kB / 1.504 GB, free: 1.902 MB / 1.201 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.001936/1.082, allocations: 1.56 MB / 1.506 GB, free: 288 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009804/1.083, allocations: 0.5112 MB / 1.506 GB, free: 15.76 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.083, allocations: 448 / 1.506 GB, free: 15.76 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/1.083, allocations: 298.3 kB / 1.507 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.087, allocations: 0.9507 MB / 1.508 GB, free: 14.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/1.113, allocations: 17.16 MB / 1.524 GB, free: 12.96 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.115, allocations: 1.953 MB / 1.526 GB, free: 10.97 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001198/1.116, allocations: 342.8 kB / 1.527 GB, free: 10.63 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009939/1.117, allocations: 0.8039 MB / 1.527 GB, free: 9.824 MB / 1.232 GB Notification: Performance of SimCode: time 1.362e-06/1.117, allocations: 3.938 kB / 1.527 GB, free: 9.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.217, allocations: 51.43 MB / 1.578 GB, free: 7.102 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.55, allocations: 3.859 kB / 1.578 GB, free: 7.098 MB / 1.279 GB " [Timeout remaining time 285] (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_2/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: 20.46144078904763]