Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001403/0.001403, 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.001688/0.001688, allocations: 196.4 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 67.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7149, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2367/0.9517, allocations: 209.9 MB / 1.222 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.9674, allocations: 9.876 MB / 1.232 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.9697, allocations: 59.62 kB / 1.232 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.9721, allocations: 0.7726 MB / 1.233 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007719/0.9799, allocations: 2.8 MB / 1.236 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.9838, allocations: 1.38 MB / 1.237 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005466/0.9892, allocations: 4.049 MB / 1.241 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.9913, allocations: 1.321 MB / 1.242 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.9938, allocations: 1.362 MB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.9963, allocations: 1.235 MB / 1.245 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.9967, allocations: 144 kB / 1.245 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/1.001, allocations: 2.385 MB / 1.247 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007301/1.002, allocations: 0.6 MB / 1.248 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.004, allocations: 0.8595 MB / 1.249 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/1.009, allocations: 2.972 MB / 1.251 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.009, allocations: 0 / 1.251 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.512e-06/1.009, allocations: 0 / 1.251 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001002/1.009, allocations: 0 / 1.251 GB, free: 1.883 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.4327/1.442, allocations: 1.888 MB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.442, allocations: 8.938 kB / 1.253 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004182/1.442, allocations: 177.2 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.446, allocations: 481 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.448, allocations: 1.068 MB / 1.255 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/1.448, allocations: 83.17 kB / 1.255 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/1.448, allocations: 110 kB / 1.255 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/1.45, allocations: 1.161 MB / 1.256 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/1.45, allocations: 0.6562 kB / 1.256 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.451, allocations: 47.25 kB / 1.256 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/1.451, allocations: 40.92 kB / 1.256 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.452, allocations: 1.081 MB / 1.257 GB, free: 234.2 MB / 0.9981 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.005694/1.458, allocations: 4.235 MB / 1.262 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.459, allocations: 0.7885 MB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/1.46, allocations: 482.8 kB / 1.263 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/1.46, allocations: 292.1 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.46, allocations: 48.64 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.995e-06/1.46, allocations: 0.7812 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005701/1.466, allocations: 2.837 MB / 1.266 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.466, allocations: 66.03 kB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.468, allocations: 0.9736 MB / 1.267 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/1.468, allocations: 47.05 kB / 1.267 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/1.468, allocations: 0.541 MB / 1.268 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/1.468, allocations: 316.3 kB / 1.268 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.468, allocations: 161.9 kB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/1.468, allocations: 341.5 kB / 1.268 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/1.469, allocations: 344.9 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/1.47, allocations: 482.7 kB / 1.269 GB, free: 227.4 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/1.475, allocations: 3.043 MB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.475, allocations: 1.062 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001449/1.477, allocations: 1.014 MB / 1.273 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.477, allocations: 6.656 kB / 1.273 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.477, allocations: 2.766 kB / 1.273 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.477, allocations: 7.469 kB / 1.273 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/1.478, allocations: 183.9 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.478, allocations: 10.44 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/1.479, allocations: 26.41 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/1.479, allocations: 34.28 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004764/1.479, allocations: 376.3 kB / 1.274 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.479, allocations: 133.9 kB / 1.274 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/1.48, allocations: 151.5 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.48, allocations: 9.594 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.48, allocations: 5.844 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/1.481, allocations: 1.091 MB / 1.275 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/1.485, allocations: 3.054 MB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.485, allocations: 8.781 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/1.486, allocations: 161 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/1.486, allocations: 104 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/1.486, allocations: 32.36 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.488, allocations: 3.083 MB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.488, allocations: 15.72 kB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.49, allocations: 1.738 MB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.49, allocations: 306 kB / 1.283 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.49, allocations: 36.11 kB / 1.283 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/1.491, allocations: 39.95 kB / 1.283 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.492, allocations: 89.27 kB / 1.283 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/1.492, allocations: 47.55 kB / 1.284 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006751/1.492, allocations: 0.6958 MB / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.492, allocations: 0 / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000942/1.493, allocations: 373.3 kB / 1.285 GB, free: 218.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/1.495, allocations: 2.418 MB / 1.287 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.497, allocations: 0.9591 MB / 1.288 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.497, allocations: 7.625 kB / 1.288 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/1.497, allocations: 0.668 MB / 1.289 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/1.501, allocations: 0.9321 MB / 1.289 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/1.511, allocations: 10.28 MB / 1.299 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/1.511, allocations: 1.245 MB / 1.301 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001091/1.512, allocations: 347 kB / 1.301 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/1.513, allocations: 471.3 kB / 1.301 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.513, allocations: 0 / 1.301 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05306/1.566, allocations: 38.2 MB / 1.339 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.733/11.3, allocations: 14.05 kB / 1.339 GB, free: 164.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches