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.000746/0.000746, 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.0007273/0.0007273, 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.8354/0.8354, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.815e-05, allocations: 4.672 kB / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5102/0.5102, allocations: 157.9 MB / 1.154 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.5229, allocations: 10.13 MB / 1.164 GB, free: 10 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.5257, allocations: 130.6 kB / 1.164 GB, free: 9.938 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.5303, allocations: 1.907 MB / 1.166 GB, free: 9.066 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.5343, allocations: 1.731 MB / 1.168 GB, free: 8.004 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5362, allocations: 0.8117 MB / 1.168 GB, free: 7.559 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004089/0.5403, allocations: 3.253 MB / 1.171 GB, free: 5.918 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.5416, allocations: 0.9209 MB / 1.172 GB, free: 5.461 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.5442, allocations: 1.743 MB / 1.174 GB, free: 4.746 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.5461, allocations: 0.9619 MB / 1.175 GB, free: 4.398 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.5464, allocations: 126.7 kB / 1.175 GB, free: 4.398 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.5481, allocations: 0.7856 MB / 1.176 GB, free: 4.137 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.5487, allocations: 0.4934 MB / 1.176 GB, free: 3.852 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.5497, allocations: 0.6443 MB / 1.177 GB, free: 3.594 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.5542, allocations: 3.405 MB / 1.18 GB, free: 2.398 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5542, allocations: 0 / 1.18 GB, free: 2.398 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5542, allocations: 0 / 1.18 GB, free: 2.398 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.096e-05/0.5543, allocations: 4 kB / 1.18 GB, free: 2.395 MB / 1.026 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.004825/0.5592, allocations: 2.798 MB / 1.183 GB, free: 0.5977 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5592, allocations: 18.31 kB / 1.183 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5593, allocations: 123.6 kB / 1.183 GB, free: 0.5039 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.5604, allocations: 394.3 kB / 1.184 GB, free: 344 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.5634, allocations: 1.945 MB / 1.186 GB, free: 15.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.5634, allocations: 64.91 kB / 1.186 GB, free: 15.29 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.5635, allocations: 74.62 kB / 1.186 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5646, allocations: 1.037 MB / 1.187 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5647, allocations: 3.938 kB / 1.187 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.5647, allocations: 39.23 kB / 1.187 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.5647, allocations: 23.84 kB / 1.187 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.5655, allocations: 0.6932 MB / 1.187 GB, free: 14.46 MB / 1.042 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.004009/0.5696, allocations: 3.651 MB / 1.191 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.5699, allocations: 300 kB / 1.191 GB, free: 12.15 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.5701, allocations: 181.1 kB / 1.191 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.5702, allocations: 17.27 kB / 1.191 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5703, allocations: 41.36 kB / 1.191 GB, free: 12.04 MB / 1.042 GB Notification: Performance of pre-optimization done (n=30): time 2.935e-06/0.5703, allocations: 0 / 1.191 GB, free: 12.04 MB / 1.042 GB Notification: Performance of matching and sorting (n=32): time 0.00237/0.5726, allocations: 1.593 MB / 1.193 GB, free: 11.11 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5727, allocations: 55.38 kB / 1.193 GB, free: 11.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.5757, allocations: 2.959 MB / 1.196 GB, free: 10.09 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.5758, allocations: 31.8 kB / 1.196 GB, free: 10.06 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.5765, allocations: 1.064 MB / 1.197 GB, free: 9.219 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.5766, allocations: 123.4 kB / 1.197 GB, free: 9.121 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.5767, allocations: 108.2 kB / 1.197 GB, free: 9.059 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.5768, allocations: 330.5 kB / 1.198 GB, free: 8.742 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.5769, allocations: 163.1 kB / 1.198 GB, free: 8.688 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.5772, allocations: 442.8 kB / 1.198 GB, free: 8.289 MB / 1.042 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.001316/0.5785, allocations: 1.008 MB / 1.199 GB, free: 7.742 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5785, allocations: 1.188 kB / 1.199 GB, free: 7.742 MB / 1.042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009099/0.5795, allocations: 0.8079 MB / 1.2 GB, free: 7.344 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5795, allocations: 9.375 kB / 1.2 GB, free: 7.344 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5795, allocations: 6.344 kB / 1.2 GB, free: 7.344 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.5796, allocations: 63.42 kB / 1.2 GB, free: 7.312 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.5798, allocations: 102 kB / 1.2 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.5809, allocations: 1.747 MB / 1.202 GB, free: 5.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/0.5816, allocations: 29.94 kB / 1.202 GB, free: 5.645 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.5816, allocations: 22.56 kB / 1.202 GB, free: 5.641 MB / 1.042 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.0008353/0.5824, allocations: 0.8021 MB / 1.203 GB, free: 5.133 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.5826, allocations: 245.8 kB / 1.203 GB, free: 4.996 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.5828, allocations: 253.7 kB / 1.203 GB, free: 4.867 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5828, allocations: 2.688 kB / 1.203 GB, free: 4.867 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5828, allocations: 0 / 1.203 GB, free: 4.867 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005684/0.5834, allocations: 0.6019 MB / 1.204 GB, free: 4.352 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.5854, allocations: 1.875 MB / 1.206 GB, free: 3.098 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5854, allocations: 5.375 kB / 1.206 GB, free: 3.098 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.5856, allocations: 69.53 kB / 1.206 GB, free: 3.078 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.49e-05/0.5857, allocations: 56.3 kB / 1.206 GB, free: 3.051 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5857, allocations: 13.53 kB / 1.206 GB, free: 3.043 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009296/0.5866, allocations: 1.755 MB / 1.207 GB, free: 1.398 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5866, allocations: 7.906 kB / 1.207 GB, free: 1.395 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.5874, allocations: 0.9357 MB / 1.208 GB, free: 0.7461 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.5878, allocations: 348.7 kB / 1.209 GB, free: 0.5234 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.588, allocations: 15.98 kB / 1.209 GB, free: 0.5156 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.5883, allocations: 11.33 kB / 1.209 GB, free: 0.5117 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.5883, allocations: 41.16 kB / 1.209 GB, free: 496 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.5884, allocations: 19.02 kB / 1.209 GB, free: 488 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001873/0.5902, allocations: 2.082 MB / 1.211 GB, free: 15.39 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.5902, allocations: 0 / 1.211 GB, free: 15.39 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007505/0.591, allocations: 301.1 kB / 1.211 GB, free: 15.37 MB / 1.057 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.001073/0.5921, allocations: 1.536 MB / 1.213 GB, free: 14.18 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.5927, allocations: 0.5102 MB / 1.213 GB, free: 13.87 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5927, allocations: 0 / 1.213 GB, free: 13.87 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.5929, allocations: 298.9 kB / 1.213 GB, free: 13.66 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.595, allocations: 0.9479 MB / 1.214 GB, free: 13.18 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.6143, allocations: 17.12 MB / 1.231 GB, free: 14.02 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.6155, allocations: 1.38 MB / 1.232 GB, free: 12.6 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6166, allocations: 342.7 kB / 1.233 GB, free: 12.26 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.6172, allocations: 0.8049 MB / 1.233 GB, free: 11.45 MB / 1.073 GB Notification: Performance of SimCode: time 1.252e-06/0.6172, allocations: 0 / 1.233 GB, free: 11.45 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.6772, allocations: 55.3 MB / 1.287 GB, free: 5.055 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.568, allocations: 4.062 kB / 1.287 GB, free: 5.051 MB / 1.12 GB " [Timeout remaining time 291] (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/jenkins/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: 12.545802875421941]