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.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.001594/0.001594, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001972/0.001972, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.04/3.04, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001968/0.001968, allocations: 67.48 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3809, allocations: 181.9 MB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2/0.5809, allocations: 158 MB / 1.518 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.598, allocations: 10.16 MB / 1.528 GB, free: 5.191 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.6008, allocations: 127 kB / 1.528 GB, free: 5.066 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005536/0.6063, allocations: 1.881 MB / 1.53 GB, free: 3.176 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004782/0.6111, allocations: 1.68 MB / 1.531 GB, free: 1.488 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.6134, allocations: 0.7982 MB / 1.532 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004579/0.618, allocations: 3.178 MB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.6194, allocations: 0.9534 MB / 1.536 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.6217, allocations: 1.342 MB / 1.537 GB, free: 11.17 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.6238, allocations: 1.137 MB / 1.539 GB, free: 10.04 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.6241, allocations: 124 kB / 1.539 GB, free: 9.914 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.6258, allocations: 0.7794 MB / 1.539 GB, free: 9.133 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.6263, allocations: 489.9 kB / 1.54 GB, free: 8.652 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009347/0.6272, allocations: 0.8273 MB / 1.541 GB, free: 7.82 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.6314, allocations: 3.486 MB / 1.544 GB, free: 4.32 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6314, allocations: 7.938 kB / 1.544 GB, free: 4.312 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6314, allocations: 4 kB / 1.544 GB, free: 4.309 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.207e-05/0.6314, allocations: 0 / 1.544 GB, free: 4.309 MB / 1.232 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.004241/0.6357, allocations: 2.83 MB / 1.547 GB, free: 1.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6357, allocations: 8.031 kB / 1.547 GB, free: 1.422 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.6359, allocations: 126.7 kB / 1.547 GB, free: 1.289 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6373, allocations: 386 kB / 1.547 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.6408, allocations: 1.943 MB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.6409, allocations: 61.94 kB / 1.549 GB, free: 14.85 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.641, allocations: 80 kB / 1.549 GB, free: 14.77 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.6426, allocations: 1.033 MB / 1.55 GB, free: 13.67 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6426, allocations: 11.94 kB / 1.55 GB, free: 13.66 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.6427, allocations: 32 kB / 1.55 GB, free: 13.62 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.6427, allocations: 32.92 kB / 1.55 GB, free: 13.59 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6439, allocations: 0.6908 MB / 1.551 GB, free: 12.9 MB / 1.248 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.005838/0.6497, allocations: 3.657 MB / 1.555 GB, free: 9.156 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.6502, allocations: 305 kB / 1.555 GB, free: 8.852 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.6505, allocations: 176.7 kB / 1.555 GB, free: 8.676 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.6507, allocations: 23.98 kB / 1.555 GB, free: 8.652 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.6507, allocations: 30.56 kB / 1.555 GB, free: 8.613 MB / 1.248 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.6507, allocations: 0 / 1.555 GB, free: 8.613 MB / 1.248 GB Notification: Performance of matching and sorting (n=32): time 0.003165/0.6539, allocations: 1.599 MB / 1.557 GB, free: 6.969 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.6539, allocations: 55.41 kB / 1.557 GB, free: 6.902 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.6579, allocations: 2.957 MB / 1.56 GB, free: 3.93 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.658, allocations: 33.7 kB / 1.56 GB, free: 3.891 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.6591, allocations: 1.071 MB / 1.561 GB, free: 2.812 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.6592, allocations: 119.1 kB / 1.561 GB, free: 2.695 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.6594, allocations: 114.2 kB / 1.561 GB, free: 2.574 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6595, allocations: 330 kB / 1.561 GB, free: 2.246 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.6598, allocations: 165 kB / 1.561 GB, free: 2.082 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.6603, allocations: 447.5 kB / 1.562 GB, free: 1.543 MB / 1.248 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.002182/0.6625, allocations: 1.003 MB / 1.563 GB, free: 464 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6625, allocations: 0 / 1.563 GB, free: 464 kB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001288/0.6638, allocations: 0.8093 MB / 1.564 GB, free: 15.63 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6638, allocations: 8.844 kB / 1.564 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6638, allocations: 4 kB / 1.564 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.6641, allocations: 68.81 kB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.6644, allocations: 103.6 kB / 1.564 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.6662, allocations: 1.746 MB / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.667, allocations: 29.45 kB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.667, allocations: 32 kB / 1.566 GB, free: 13.54 MB / 1.264 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.00114/0.6682, allocations: 0.7912 MB / 1.566 GB, free: 12.73 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.6685, allocations: 242.4 kB / 1.567 GB, free: 12.5 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.6688, allocations: 255.8 kB / 1.567 GB, free: 12.24 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6688, allocations: 7.969 kB / 1.567 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6688, allocations: 4 kB / 1.567 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007534/0.6696, allocations: 0.6016 MB / 1.567 GB, free: 11.56 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.6728, allocations: 1.881 MB / 1.569 GB, free: 9.578 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6728, allocations: 4 kB / 1.569 GB, free: 9.574 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.6731, allocations: 63.91 kB / 1.569 GB, free: 9.512 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.6732, allocations: 61.22 kB / 1.569 GB, free: 9.449 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.6733, allocations: 8 kB / 1.569 GB, free: 9.441 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.675, allocations: 1.75 MB / 1.571 GB, free: 7.574 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.675, allocations: 7.938 kB / 1.571 GB, free: 7.566 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6762, allocations: 0.9319 MB / 1.572 GB, free: 6.574 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/0.677, allocations: 351.5 kB / 1.572 GB, free: 6.23 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6773, allocations: 12 kB / 1.572 GB, free: 6.219 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.6779, allocations: 15.92 kB / 1.572 GB, free: 6.203 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.6779, allocations: 35.89 kB / 1.572 GB, free: 6.168 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.678, allocations: 12 kB / 1.572 GB, free: 6.156 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00331/0.6813, allocations: 2.083 MB / 1.575 GB, free: 4.07 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6813, allocations: 0 / 1.575 GB, free: 4.07 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001047/0.6823, allocations: 300 kB / 1.575 GB, free: 3.777 MB / 1.264 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.001896/0.6842, allocations: 1.556 MB / 1.576 GB, free: 2.152 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009928/0.6852, allocations: 0.5147 MB / 1.577 GB, free: 1.625 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.6852, allocations: 4 kB / 1.577 GB, free: 1.621 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.6857, allocations: 291.8 kB / 1.577 GB, free: 1.324 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/0.6892, allocations: 0.9427 MB / 1.578 GB, free: 412 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/0.7171, allocations: 17.15 MB / 1.595 GB, free: 14.83 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.7192, allocations: 1.384 MB / 1.596 GB, free: 13.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001179/0.7204, allocations: 334.9 kB / 1.596 GB, free: 13.07 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7214, allocations: 0.8039 MB / 1.597 GB, free: 12.27 MB / 1.295 GB Notification: Performance of SimCode: time 1.242e-06/0.7214, allocations: 0 / 1.597 GB, free: 12.27 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7559/1.477, allocations: 55.54 MB / 1.651 GB, free: 228.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.8, allocations: 14.28 kB / 1.651 GB, free: 228.5 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/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.428423836827278]