Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_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.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 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.001617/0.001617, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.3 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2599, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1956/0.4555, allocations: 181.9 MB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008353/0.4639, allocations: 5.355 MB / 1.247 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.4646, allocations: 31.81 kB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4657, allocations: 441.4 kB / 1.247 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.4693, allocations: 1.672 MB / 1.249 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4731/0.9424, allocations: 0.7849 MB / 1.25 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.9453, allocations: 2.198 MB / 1.252 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.9464, allocations: 0.6852 MB / 1.253 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.9476, allocations: 0.739 MB / 1.253 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.9491, allocations: 0.6851 MB / 1.254 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.9492, allocations: 74.66 kB / 1.254 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.9514, allocations: 1.397 MB / 1.255 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.9517, allocations: 320.2 kB / 1.256 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.9521, allocations: 475.1 kB / 1.256 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.9538, allocations: 1.64 MB / 1.258 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9539, allocations: 0.6094 kB / 1.258 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.9539, allocations: 0.5625 kB / 1.258 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.9539, allocations: 0.8125 kB / 1.258 GB, free: 6.105 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.001672/0.9556, allocations: 1.174 MB / 1.259 GB, free: 21.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.9556, allocations: 9.828 kB / 1.259 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.9557, allocations: 103.9 kB / 1.259 GB, free: 21.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.9575, allocations: 275.8 kB / 1.259 GB, free: 21.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.9584, allocations: 0.6709 MB / 1.26 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.9584, allocations: 49.2 kB / 1.26 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.9585, allocations: 66.42 kB / 1.26 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008988/0.9594, allocations: 0.5799 MB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9594, allocations: 0 / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.9595, allocations: 28.53 kB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.9595, allocations: 22.84 kB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.9603, allocations: 0.4974 MB / 1.261 GB, free: 21.01 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.002852/0.9632, allocations: 2.401 MB / 1.264 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.9639, allocations: 424.6 kB / 1.264 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.9642, allocations: 228.3 kB / 1.264 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.9644, allocations: 101.6 kB / 1.264 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.9644, allocations: 41.97 kB / 1.264 GB, free: 19.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.9644, allocations: 0 / 1.264 GB, free: 19.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.00246/0.9669, allocations: 1.439 MB / 1.266 GB, free: 19.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.967, allocations: 57.98 kB / 1.266 GB, free: 19.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.9675, allocations: 0.5402 MB / 1.266 GB, free: 19.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.9676, allocations: 35.45 kB / 1.266 GB, free: 19.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.9677, allocations: 336 kB / 1.267 GB, free: 18.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9679, allocations: 164.9 kB / 1.267 GB, free: 18.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.968, allocations: 89.81 kB / 1.267 GB, free: 18.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9682, allocations: 372.1 kB / 1.267 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.9685, allocations: 173.8 kB / 1.267 GB, free: 18.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.9688, allocations: 258.5 kB / 1.268 GB, free: 18.48 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.003407/0.9723, allocations: 1.452 MB / 1.269 GB, free: 18.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9723, allocations: 1.062 kB / 1.269 GB, free: 18.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008205/0.9731, allocations: 0.5248 MB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9731, allocations: 13.12 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9731, allocations: 1.938 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9732, allocations: 3.906 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.9736, allocations: 97.28 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.9736, allocations: 6.016 kB / 1.27 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.9742, allocations: 23.64 kB / 1.27 GB, free: 18.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.9742, allocations: 17.28 kB / 1.27 GB, free: 18.15 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.0002935/0.9745, allocations: 248.9 kB / 1.27 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.9746, allocations: 69.72 kB / 1.27 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.9748, allocations: 79.8 kB / 1.27 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.9748, allocations: 5.125 kB / 1.27 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9748, allocations: 1.75 kB / 1.27 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007023/0.9755, allocations: 0.5126 MB / 1.271 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.9779, allocations: 1.587 MB / 1.272 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.9779, allocations: 8.656 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.9785, allocations: 115.3 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.9785, allocations: 6.875 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.9786, allocations: 18.78 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.9786, allocations: 12.33 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.9786, allocations: 5.125 kB / 1.272 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.9799, allocations: 0.8955 MB / 1.273 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.9802, allocations: 203.5 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.9803, allocations: 18.62 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.9808, allocations: 21.09 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.9809, allocations: 42.12 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.9809, allocations: 24.09 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004518/0.9814, allocations: 398.2 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9814, allocations: 3.188 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006322/0.982, allocations: 206 kB / 1.274 GB, free: 16.79 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.001616/0.9837, allocations: 1.532 MB / 1.276 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.9845, allocations: 480.5 kB / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9845, allocations: 4.438 kB / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.9848, allocations: 234.5 kB / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.9869, allocations: 0.4927 MB / 1.277 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.9934, allocations: 5.615 MB / 1.282 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.9941, allocations: 0.9764 MB / 1.283 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007024/0.9948, allocations: 160.4 kB / 1.283 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.9951, allocations: 249.9 kB / 1.284 GB, free: 12.86 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.9951, allocations: 1.906 kB / 1.284 GB, free: 12.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/1.042, allocations: 20.26 MB / 1.303 GB, free: 11.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/9.169, allocations: 9.562 kB / 1.303 GB, free: 11.41 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches