Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_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.007856/0.007856, allocations: 101.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.7 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2345, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7228/0.9574, allocations: 209.9 MB / 1.292 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.9699, allocations: 9.864 MB / 1.302 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.9716, allocations: 61.91 kB / 1.302 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.9733, allocations: 0.7668 MB / 1.303 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.9795, allocations: 2.812 MB / 1.306 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.9827, allocations: 1.381 MB / 1.307 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004746/0.9875, allocations: 4.063 MB / 1.311 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.9891, allocations: 1.33 MB / 1.312 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.9912, allocations: 1.365 MB / 1.314 GB, free: 2.574 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.9932, allocations: 1.23 MB / 1.315 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.9934, allocations: 144.4 kB / 1.315 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.9978, allocations: 2.386 MB / 1.317 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/0.9984, allocations: 0.6066 MB / 1.318 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009438/0.9994, allocations: 0.8529 MB / 1.319 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/1.003, allocations: 2.994 MB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.003, allocations: 0.9688 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.003, allocations: 1.344 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.003, allocations: 1.062 kB / 1.322 GB, free: 1.895 MB / 1.014 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.002895/1.006, allocations: 1.9 MB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.006, allocations: 9.375 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/1.006, allocations: 173.7 kB / 1.324 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/1.01, allocations: 487.6 kB / 1.324 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/1.011, allocations: 1.137 MB / 1.325 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/1.012, allocations: 81.14 kB / 1.325 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/1.012, allocations: 111.9 kB / 1.325 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.013, allocations: 1.156 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.014, allocations: 0 / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.014, allocations: 46.28 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/1.014, allocations: 42.98 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/1.015, allocations: 1.074 MB / 1.328 GB, free: 356 kB / 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.005336/1.021, allocations: 4.2 MB / 1.332 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.022, allocations: 0.7859 MB / 1.333 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/1.022, allocations: 486.3 kB / 1.333 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/1.023, allocations: 289.2 kB / 1.333 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.023, allocations: 46.59 kB / 1.333 GB, free: 14.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 2.394e-06/1.023, allocations: 4.75 kB / 1.333 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=89): time 0.004966/1.028, allocations: 2.843 MB / 1.336 GB, free: 13.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.028, allocations: 66.86 kB / 1.336 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.029, allocations: 0.979 MB / 1.337 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.262e-05/1.029, allocations: 49.86 kB / 1.337 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/1.029, allocations: 0.5339 MB / 1.338 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/1.03, allocations: 316.6 kB / 1.338 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.03, allocations: 162.8 kB / 1.338 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.03, allocations: 338.2 kB / 1.338 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/1.03, allocations: 339.9 kB / 1.339 GB, free: 11.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/1.031, allocations: 492.1 kB / 1.339 GB, free: 11.53 MB / 1.029 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.005627/1.037, allocations: 3.036 MB / 1.342 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.037, allocations: 3.219 kB / 1.342 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001415/1.038, allocations: 1.006 MB / 1.343 GB, free: 9.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.038, allocations: 7.969 kB / 1.343 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.038, allocations: 2.781 kB / 1.343 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.038, allocations: 13.3 kB / 1.343 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.039, allocations: 183.1 kB / 1.343 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.039, allocations: 12.56 kB / 1.343 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.04, allocations: 29.83 kB / 1.343 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/1.04, allocations: 32.16 kB / 1.343 GB, free: 9.805 MB / 1.029 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.0005266/1.04, allocations: 376.1 kB / 1.344 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.041, allocations: 123.6 kB / 1.344 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/1.041, allocations: 154.6 kB / 1.344 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.041, allocations: 8.031 kB / 1.344 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.041, allocations: 5.938 kB / 1.344 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/1.042, allocations: 1.087 MB / 1.345 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/1.047, allocations: 3.043 MB / 1.348 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.047, allocations: 8.188 kB / 1.348 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/1.048, allocations: 168.1 kB / 1.348 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/1.048, allocations: 105.3 kB / 1.348 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/1.048, allocations: 37.64 kB / 1.348 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/1.05, allocations: 3.078 MB / 1.351 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.05, allocations: 13.16 kB / 1.351 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.053, allocations: 1.749 MB / 1.353 GB, free: 3.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/1.053, allocations: 307.5 kB / 1.353 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.053, allocations: 35.25 kB / 1.354 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/1.054, allocations: 33.17 kB / 1.354 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.054, allocations: 89.38 kB / 1.354 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/1.054, allocations: 48.17 kB / 1.354 GB, free: 2.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008332/1.055, allocations: 0.703 MB / 1.354 GB, free: 2.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.055, allocations: 0 / 1.354 GB, free: 2.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001081/1.056, allocations: 375.5 kB / 1.355 GB, free: 2.617 MB / 1.029 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.00282/1.059, allocations: 2.413 MB / 1.357 GB, free: 1.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.06, allocations: 0.84 MB / 1.358 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.061, allocations: 2.5 kB / 1.358 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/1.061, allocations: 0.6723 MB / 1.359 GB, free: 412 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/1.065, allocations: 0.9334 MB / 1.359 GB, free: 124 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.078, allocations: 9.668 MB / 1.369 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/1.079, allocations: 1.252 MB / 1.37 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001185/1.08, allocations: 351.1 kB / 1.37 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/1.081, allocations: 470.8 kB / 1.371 GB, free: 9.863 MB / 1.045 GB Notification: Performance of SimCode: time 8.72e-07/1.081, allocations: 0 / 1.371 GB, free: 9.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/1.15, allocations: 38.42 MB / 1.408 GB, free: 10.86 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.4, allocations: 8 kB / 1.408 GB, free: 10.85 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches