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.0007579/0.0007579, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007893/0.0007893, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.847/0.847, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.591/1.591, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9506 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.497e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4949/0.4949, allocations: 157.9 MB / 1.105 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009216/0.5041, allocations: 10.15 MB / 1.115 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.5053, allocations: 127 kB / 1.115 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.5083, allocations: 1.91 MB / 1.117 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.5104, allocations: 1.734 MB / 1.118 GB, free: 31.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5114, allocations: 0.8141 MB / 1.119 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5133, allocations: 3.268 MB / 1.122 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.514, allocations: 0.958 MB / 1.123 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5152, allocations: 1.594 MB / 1.125 GB, free: 27.92 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.5163, allocations: 0.9573 MB / 1.126 GB, free: 27.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.5164, allocations: 126.8 kB / 1.126 GB, free: 27.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000885/0.5173, allocations: 0.7944 MB / 1.127 GB, free: 27.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.5176, allocations: 0.5019 MB / 1.127 GB, free: 27.01 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.5181, allocations: 0.6432 MB / 1.128 GB, free: 26.75 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.5204, allocations: 3.404 MB / 1.131 GB, free: 25.56 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5204, allocations: 0 / 1.131 GB, free: 25.56 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5204, allocations: 0 / 1.131 GB, free: 25.56 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.5205, allocations: 0 / 1.131 GB, free: 25.56 MB / 0.9948 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.002291/0.5228, allocations: 2.8 MB / 1.134 GB, free: 23.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5228, allocations: 10.47 kB / 1.134 GB, free: 23.76 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.5229, allocations: 124.8 kB / 1.134 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007644/0.5237, allocations: 390.1 kB / 1.134 GB, free: 23.51 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.5256, allocations: 1.962 MB / 1.136 GB, free: 22.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.5256, allocations: 56.41 kB / 1.136 GB, free: 22.44 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.5257, allocations: 79.14 kB / 1.136 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009639/0.5266, allocations: 1.042 MB / 1.137 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5266, allocations: 3.938 kB / 1.137 GB, free: 21.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.5267, allocations: 32.72 kB / 1.137 GB, free: 21.83 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5267, allocations: 25.45 kB / 1.137 GB, free: 21.83 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.5274, allocations: 0.6955 MB / 1.138 GB, free: 21.61 MB / 0.9948 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.002946/0.5304, allocations: 3.652 MB / 1.142 GB, free: 19.44 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.5307, allocations: 300.7 kB / 1.142 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.5309, allocations: 169.6 kB / 1.142 GB, free: 19.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/0.531, allocations: 21.55 kB / 1.142 GB, free: 19.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.531, allocations: 34.69 kB / 1.142 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.253e-06/0.531, allocations: 0 / 1.142 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32): time 0.001653/0.5326, allocations: 1.59 MB / 1.144 GB, free: 18.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.5326, allocations: 55.44 kB / 1.144 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.5351, allocations: 2.96 MB / 1.147 GB, free: 17.26 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5351, allocations: 32.61 kB / 1.147 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.5357, allocations: 1.07 MB / 1.148 GB, free: 16.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.5357, allocations: 122.3 kB / 1.148 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.5358, allocations: 109.3 kB / 1.148 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.5359, allocations: 329.6 kB / 1.148 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.536, allocations: 164.9 kB / 1.148 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.5363, allocations: 446.9 kB / 1.149 GB, free: 15.45 MB / 0.9948 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.001142/0.5374, allocations: 1.006 MB / 1.15 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5374, allocations: 2.281 kB / 1.15 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006882/0.5381, allocations: 0.808 MB / 1.151 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5381, allocations: 11.75 kB / 1.151 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.5381, allocations: 7.344 kB / 1.151 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.5382, allocations: 62.41 kB / 1.151 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.5384, allocations: 101 kB / 1.151 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007712/0.5392, allocations: 1.756 MB / 1.153 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.5396, allocations: 29.58 kB / 1.153 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5396, allocations: 22.84 kB / 1.153 GB, free: 12.93 MB / 0.9948 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.0006226/0.5402, allocations: 0.7909 MB / 1.153 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5404, allocations: 251 kB / 1.154 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.5406, allocations: 252 kB / 1.154 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5406, allocations: 4.109 kB / 1.154 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5406, allocations: 1.156 kB / 1.154 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003711/0.541, allocations: 0.6051 MB / 1.154 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5427, allocations: 1.873 MB / 1.156 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5427, allocations: 3.281 kB / 1.156 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.5428, allocations: 75.19 kB / 1.156 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.512e-05/0.5429, allocations: 57.03 kB / 1.156 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.543, allocations: 13.25 kB / 1.156 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006556/0.5436, allocations: 1.745 MB / 1.158 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5436, allocations: 7.594 kB / 1.158 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.5442, allocations: 0.9328 MB / 1.159 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.5446, allocations: 349 kB / 1.159 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5447, allocations: 12.75 kB / 1.159 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.5451, allocations: 17.44 kB / 1.159 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5451, allocations: 36.86 kB / 1.159 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5451, allocations: 11.84 kB / 1.159 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001662/0.5468, allocations: 2.086 MB / 1.162 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5468, allocations: 3.938 kB / 1.162 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006564/0.5474, allocations: 301.2 kB / 1.162 GB, free: 7.824 MB / 0.9948 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.0009012/0.5483, allocations: 1.533 MB / 1.163 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.5488, allocations: 0.5119 MB / 1.164 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5488, allocations: 1.125 kB / 1.164 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.549, allocations: 294.7 kB / 1.164 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.5509, allocations: 0.953 MB / 1.165 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.5657, allocations: 17.12 MB / 1.182 GB, free: 14.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.5666, allocations: 1.386 MB / 1.183 GB, free: 14.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006298/0.5672, allocations: 344.4 kB / 1.183 GB, free: 14.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.5678, allocations: 0.8014 MB / 1.184 GB, free: 13.9 MB / 1.01 GB Notification: Performance of SimCode: time 5.41e-07/0.5678, allocations: 0 / 1.184 GB, free: 13.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.6317, allocations: 55.46 MB / 1.238 GB, free: 2.719 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/9.017, allocations: 8.047 kB / 1.238 GB, free: 2.711 MB / 1.042 GB " [Timeout remaining time 291] (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/jenkins/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: 12.822408870793879]