Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.00111/0.00111, 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.00112/0.00112, allocations: 195.2 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 61.94 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2508, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6921/0.9429, allocations: 209.9 MB / 1.269 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.9588, allocations: 9.863 MB / 1.278 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.9623, allocations: 58.81 kB / 1.278 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.9657, allocations: 0.7695 MB / 1.279 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008926/0.9747, allocations: 2.809 MB / 1.282 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.9787, allocations: 1.366 MB / 1.283 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005781/0.9845, allocations: 4.067 MB / 1.287 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.9873, allocations: 1.335 MB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.9901, allocations: 1.354 MB / 1.29 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.993, allocations: 1.224 MB / 1.291 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.9934, allocations: 144.4 kB / 1.291 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/0.9993, allocations: 2.385 MB / 1.293 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/1, allocations: 0.605 MB / 1.294 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.001, allocations: 0.858 MB / 1.295 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/1.006, allocations: 2.974 MB / 1.298 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.006, allocations: 0 / 1.298 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/1.006, allocations: 0.7812 kB / 1.298 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.811e-05/1.006, allocations: 1.5 kB / 1.298 GB, free: 3.688 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.003246/1.009, allocations: 1.899 MB / 1.3 GB, free: 18.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.009, allocations: 10.53 kB / 1.3 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/1.009, allocations: 170.4 kB / 1.3 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/1.013, allocations: 489.7 kB / 1.3 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/1.014, allocations: 1.066 MB / 1.301 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/1.015, allocations: 84.62 kB / 1.301 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.015, allocations: 116.1 kB / 1.301 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/1.017, allocations: 1.154 MB / 1.303 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/1.017, allocations: 1.062 kB / 1.303 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.017, allocations: 49.72 kB / 1.303 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/1.017, allocations: 42.08 kB / 1.303 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/1.019, allocations: 1.078 MB / 1.304 GB, free: 18.14 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.005934/1.025, allocations: 4.239 MB / 1.308 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/1.026, allocations: 0.7906 MB / 1.309 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/1.026, allocations: 481.7 kB / 1.309 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/1.027, allocations: 294.2 kB / 1.309 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.027, allocations: 48.75 kB / 1.309 GB, free: 16.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.295e-06/1.027, allocations: 0 / 1.309 GB, free: 16.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.00565/1.033, allocations: 2.841 MB / 1.312 GB, free: 15.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.033, allocations: 65.91 kB / 1.312 GB, free: 15.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.034, allocations: 0.9686 MB / 1.313 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/1.034, allocations: 46.86 kB / 1.313 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/1.034, allocations: 0.544 MB / 1.314 GB, free: 14.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/1.035, allocations: 311.9 kB / 1.314 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.035, allocations: 160.7 kB / 1.314 GB, free: 14.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.035, allocations: 341.2 kB / 1.315 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/1.035, allocations: 342 kB / 1.315 GB, free: 14.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/1.036, allocations: 484.2 kB / 1.315 GB, free: 14.3 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: 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.006093/1.042, allocations: 3.047 MB / 1.318 GB, free: 13.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.042, allocations: 7.938 kB / 1.318 GB, free: 13.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001612/1.044, allocations: 1.007 MB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.044, allocations: 9 kB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/1.044, allocations: 4.906 kB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.044, allocations: 9.188 kB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/1.045, allocations: 180.3 kB / 1.32 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.045, allocations: 9.406 kB / 1.32 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.046, allocations: 27.53 kB / 1.32 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/1.046, allocations: 35.61 kB / 1.32 GB, free: 13.74 MB / 1.014 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.0006644/1.047, allocations: 389.8 kB / 1.32 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.047, allocations: 126.8 kB / 1.32 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/1.047, allocations: 150.1 kB / 1.32 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.047, allocations: 8.469 kB / 1.32 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.047, allocations: 1.125 kB / 1.32 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001559/1.049, allocations: 1.099 MB / 1.321 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/1.053, allocations: 3.05 MB / 1.324 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.053, allocations: 10.69 kB / 1.324 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/1.054, allocations: 159 kB / 1.324 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003722/1.054, allocations: 108.5 kB / 1.325 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/1.055, allocations: 26.19 kB / 1.325 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/1.057, allocations: 3.096 MB / 1.328 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.057, allocations: 13.53 kB / 1.328 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/1.06, allocations: 1.739 MB / 1.329 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/1.06, allocations: 311 kB / 1.33 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.06, allocations: 31.67 kB / 1.33 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.061, allocations: 37.02 kB / 1.33 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.061, allocations: 84.47 kB / 1.33 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.062, allocations: 49.36 kB / 1.33 GB, free: 9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008764/1.062, allocations: 0.6965 MB / 1.33 GB, free: 8.891 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 1.33 GB, free: 8.891 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001199/1.064, allocations: 375.6 kB / 1.331 GB, free: 8.887 MB / 1.014 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.002944/1.067, allocations: 2.408 MB / 1.333 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001618/1.068, allocations: 0.9623 MB / 1.334 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.068, allocations: 2.688 kB / 1.334 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009729/1.069, allocations: 0.67 MB / 1.335 GB, free: 7.488 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/1.074, allocations: 0.93 MB / 1.336 GB, free: 7.336 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.089, allocations: 10.27 MB / 1.346 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008707/1.09, allocations: 1.251 MB / 1.347 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00168/1.092, allocations: 344.7 kB / 1.347 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/1.092, allocations: 476.5 kB / 1.348 GB, free: 280 kB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.092, allocations: 0 / 1.348 GB, free: 280 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08373/1.176, allocations: 38.19 MB / 1.385 GB, free: 7.559 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.36, allocations: 11.78 kB / 1.385 GB, free: 7.547 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches