Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.11 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2602, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1759/0.4362, allocations: 181.9 MB / 1.241 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007649/0.4438, allocations: 5.361 MB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.4448, allocations: 35.81 kB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.446, allocations: 429.4 kB / 1.247 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.4497, allocations: 1.68 MB / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4932/0.9429, allocations: 0.7868 MB / 1.249 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.9457, allocations: 2.193 MB / 1.252 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009581/0.9467, allocations: 0.6846 MB / 1.252 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.9478, allocations: 0.7426 MB / 1.253 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.9493, allocations: 0.6837 MB / 1.254 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.9494, allocations: 75.38 kB / 1.254 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.9518, allocations: 1.396 MB / 1.255 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.9521, allocations: 315.8 kB / 1.255 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.9526, allocations: 477.9 kB / 1.256 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.9545, allocations: 1.639 MB / 1.257 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9545, allocations: 2 kB / 1.257 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9545, allocations: 0 / 1.257 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.9545, allocations: 0 / 1.257 GB, free: 6.051 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001733/0.9563, allocations: 1.176 MB / 1.259 GB, free: 21.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.9563, allocations: 8.219 kB / 1.259 GB, free: 21.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.9564, allocations: 102.9 kB / 1.259 GB, free: 21.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.9582, allocations: 273.1 kB / 1.259 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000986/0.9592, allocations: 0.6789 MB / 1.26 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.9593, allocations: 44.12 kB / 1.26 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.9594, allocations: 57.25 kB / 1.26 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.9603, allocations: 0.5894 MB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.9604, allocations: 3.891 kB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.9604, allocations: 27.25 kB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.9604, allocations: 24.86 kB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.9613, allocations: 0.4972 MB / 1.261 GB, free: 20.96 MB / 1.014 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.00291/0.9642, allocations: 2.398 MB / 1.263 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.9649, allocations: 419.8 kB / 1.264 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.9652, allocations: 229.3 kB / 1.264 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.9654, allocations: 98.42 kB / 1.264 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9654, allocations: 43.36 kB / 1.264 GB, free: 19.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.9654, allocations: 2.625 kB / 1.264 GB, free: 19.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.002573/0.968, allocations: 1.441 MB / 1.265 GB, free: 19.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.9681, allocations: 58.25 kB / 1.265 GB, free: 19.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.9686, allocations: 0.5363 MB / 1.266 GB, free: 19.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.9687, allocations: 41.2 kB / 1.266 GB, free: 19.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.9689, allocations: 329.7 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.969, allocations: 168.5 kB / 1.266 GB, free: 18.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.9691, allocations: 90.17 kB / 1.266 GB, free: 18.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9693, allocations: 373.5 kB / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.9696, allocations: 177.3 kB / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.97, allocations: 253 kB / 1.267 GB, free: 18.44 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.9735, allocations: 1.446 MB / 1.269 GB, free: 18.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9735, allocations: 1.125 kB / 1.269 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008453/0.9743, allocations: 0.5282 MB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9743, allocations: 14.52 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9744, allocations: 3.062 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.9744, allocations: 3.781 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.9748, allocations: 94.25 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.9748, allocations: 9.812 kB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.9754, allocations: 21.06 kB / 1.269 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.9755, allocations: 17.83 kB / 1.269 GB, free: 18.1 MB / 1.014 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.9758, allocations: 247.3 kB / 1.27 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.9759, allocations: 70.44 kB / 1.27 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.9761, allocations: 78.88 kB / 1.27 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.9761, allocations: 6.516 kB / 1.27 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9761, allocations: 1.625 kB / 1.27 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007096/0.9768, allocations: 0.509 MB / 1.27 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.9792, allocations: 1.581 MB / 1.272 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.9792, allocations: 8.562 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.9798, allocations: 118.9 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.9798, allocations: 8.641 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.9799, allocations: 18.7 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.9799, allocations: 8.125 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.9799, allocations: 10.67 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.9814, allocations: 0.8934 MB / 1.273 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.9817, allocations: 200.9 kB / 1.273 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.9818, allocations: 19.72 kB / 1.273 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.9824, allocations: 22.05 kB / 1.273 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.9825, allocations: 45.84 kB / 1.273 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.9826, allocations: 23.23 kB / 1.273 GB, free: 16.83 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004825/0.983, allocations: 399.3 kB / 1.273 GB, free: 16.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.42e-07/0.983, allocations: 0 / 1.273 GB, free: 16.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007327/0.9838, allocations: 201.7 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00166/0.9855, allocations: 1.532 MB / 1.275 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008761/0.9863, allocations: 483.9 kB / 1.276 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9864, allocations: 3.156 kB / 1.276 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.9867, allocations: 231.9 kB / 1.276 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.989, allocations: 0.4977 MB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.9958, allocations: 5.626 MB / 1.282 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.9964, allocations: 0.9785 MB / 1.283 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007775/0.9972, allocations: 157.3 kB / 1.283 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.9975, allocations: 250 kB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.9975, allocations: 2.141 kB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/1.038, allocations: 20.26 MB / 1.303 GB, free: 11.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.702, allocations: 5.078 kB / 1.303 GB, free: 11.34 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches