Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.004729/0.004729, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001317/0.001318, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.83 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7205/1.005, allocations: 170.8 MB / 1.408 GB, free: 5.766 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005591/1.011, allocations: 3.393 MB / 1.412 GB, free: 3.016 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/1.012, allocations: 22 kB / 1.412 GB, free: 3.008 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008788/1.012, allocations: 311 kB / 1.412 GB, free: 2.754 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/1.015, allocations: 1.01 MB / 1.413 GB, free: 1.969 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/1.016, allocations: 0.6684 MB / 1.414 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001807/1.018, allocations: 1.531 MB / 1.415 GB, free: 0.582 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/1.019, allocations: 471.3 kB / 1.415 GB, free: 312 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/1.02, allocations: 0.6985 MB / 1.416 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/1.021, allocations: 463 kB / 1.417 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.826e-05/1.021, allocations: 53.94 kB / 1.417 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/1.023, allocations: 0.8251 MB / 1.417 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/1.023, allocations: 249 kB / 1.418 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003808/1.024, allocations: 335.8 kB / 1.418 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/1.025, allocations: 1.136 MB / 1.419 GB, free: 14.08 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.025, allocations: 1.094 kB / 1.419 GB, free: 14.08 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.423e-06/1.025, allocations: 3.938 kB / 1.419 GB, free: 14.07 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.025, allocations: 0 / 1.419 GB, free: 14.07 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001443/1.027, allocations: 0.9202 MB / 1.42 GB, free: 13.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.027, allocations: 9.75 kB / 1.42 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/1.027, allocations: 93.81 kB / 1.42 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.028, allocations: 175.3 kB / 1.42 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/1.029, allocations: 0.5287 MB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/1.029, allocations: 35.28 kB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/1.029, allocations: 39.62 kB / 1.421 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/1.03, allocations: 469.4 kB / 1.421 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.03, allocations: 3.938 kB / 1.421 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/1.03, allocations: 21.5 kB / 1.421 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/1.03, allocations: 14.75 kB / 1.421 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/1.031, allocations: 412.1 kB / 1.422 GB, free: 12.2 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/1.033, allocations: 1.81 MB / 1.424 GB, free: 10.66 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/1.034, allocations: 295.5 kB / 1.424 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/1.034, allocations: 184.6 kB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/1.034, allocations: 98.94 kB / 1.424 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.034, allocations: 41.56 kB / 1.424 GB, free: 10.26 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/1.034, allocations: 0 / 1.424 GB, free: 10.26 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.002181/1.036, allocations: 1.07 MB / 1.425 GB, free: 9.551 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.037, allocations: 53.94 kB / 1.425 GB, free: 9.488 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/1.037, allocations: 459.9 kB / 1.426 GB, free: 9.215 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/1.037, allocations: 36.95 kB / 1.426 GB, free: 9.176 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/1.037, allocations: 254.2 kB / 1.426 GB, free: 8.945 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.037, allocations: 122.5 kB / 1.426 GB, free: 8.84 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/1.038, allocations: 66.92 kB / 1.426 GB, free: 8.797 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.038, allocations: 356.8 kB / 1.426 GB, free: 8.449 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.038, allocations: 127.3 kB / 1.427 GB, free: 8.387 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/1.038, allocations: 194.1 kB / 1.427 GB, free: 8.254 MB / 1.123 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.04, allocations: 0.8688 MB / 1.428 GB, free: 7.727 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.04, allocations: 0 / 1.428 GB, free: 7.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00066/1.041, allocations: 417.8 kB / 1.428 GB, free: 7.508 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.041, allocations: 5.594 kB / 1.428 GB, free: 7.508 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.041, allocations: 5.812 kB / 1.428 GB, free: 7.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.041, allocations: 3.625 kB / 1.428 GB, free: 7.504 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/1.041, allocations: 72.12 kB / 1.428 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.041, allocations: 6.75 kB / 1.428 GB, free: 7.484 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/1.042, allocations: 7.938 kB / 1.428 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.042, allocations: 15.38 kB / 1.428 GB, free: 7.477 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.000282/1.042, allocations: 207.8 kB / 1.428 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/1.042, allocations: 56.33 kB / 1.428 GB, free: 7.273 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/1.042, allocations: 64.77 kB / 1.428 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.042, allocations: 3.031 kB / 1.428 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.042, allocations: 0 / 1.428 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005063/1.043, allocations: 411.3 kB / 1.429 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/1.045, allocations: 1.25 MB / 1.43 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.045, allocations: 4.656 kB / 1.43 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/1.045, allocations: 69.25 kB / 1.43 GB, free: 5.957 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.045, allocations: 9.484 kB / 1.43 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/1.045, allocations: 14.86 kB / 1.43 GB, free: 5.945 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.045, allocations: 9.438 kB / 1.43 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.045, allocations: 4.125 kB / 1.43 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/1.046, allocations: 0.7109 MB / 1.431 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/1.046, allocations: 169.2 kB / 1.431 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/1.046, allocations: 19.92 kB / 1.431 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/1.047, allocations: 23.69 kB / 1.431 GB, free: 4.957 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.047, allocations: 31.84 kB / 1.431 GB, free: 4.926 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/1.047, allocations: 19.98 kB / 1.431 GB, free: 4.906 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004031/1.047, allocations: 331.1 kB / 1.431 GB, free: 4.582 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/1.047, allocations: 0 / 1.431 GB, free: 4.582 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005902/1.048, allocations: 143.9 kB / 1.432 GB, free: 4.441 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.001492/1.049, allocations: 1.312 MB / 1.433 GB, free: 3.066 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005927/1.05, allocations: 319.8 kB / 1.433 GB, free: 2.754 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.05, allocations: 4 kB / 1.433 GB, free: 2.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/1.05, allocations: 170.9 kB / 1.433 GB, free: 2.586 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.052, allocations: 363.8 kB / 1.434 GB, free: 2.242 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/1.058, allocations: 4.424 MB / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/1.058, allocations: 0.8784 MB / 1.439 GB, free: 12.69 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004781/1.059, allocations: 136.6 kB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.059, allocations: 171.3 kB / 1.439 GB, free: 12.39 MB / 1.139 GB Notification: Performance of SimCode: time 5.51e-07/1.059, allocations: 0 / 1.439 GB, free: 12.39 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/1.101, allocations: 15.47 MB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.594, allocations: 14.97 kB / 1.454 GB, free: 13.19 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches