Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.MixingVolumeMFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_11_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.007183/0.007183, allocations: 101.9 kB / 15.73 MB, free: 6.066 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.001712/0.001713, allocations: 197.2 kB / 16.68 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6605, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2312/0.8917, allocations: 209.9 MB / 1.425 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.9068, allocations: 9.88 MB / 1.435 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.9085, allocations: 59.62 kB / 1.435 GB, free: 5.387 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.9106, allocations: 0.7687 MB / 1.436 GB, free: 4.613 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.9172, allocations: 2.804 MB / 1.438 GB, free: 1.797 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.9206, allocations: 1.378 MB / 1.44 GB, free: 436 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005215/0.9258, allocations: 4.069 MB / 1.444 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.9276, allocations: 1.325 MB / 1.445 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.9297, allocations: 1.358 MB / 1.446 GB, free: 9.621 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.9319, allocations: 1.224 MB / 1.447 GB, free: 8.402 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.9321, allocations: 148 kB / 1.448 GB, free: 8.258 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/0.9364, allocations: 2.381 MB / 1.45 GB, free: 5.871 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.9371, allocations: 0.6155 MB / 1.451 GB, free: 5.254 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009557/0.938, allocations: 0.8556 MB / 1.451 GB, free: 4.395 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.9419, allocations: 3.017 MB / 1.454 GB, free: 1.367 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9419, allocations: 0 / 1.454 GB, free: 1.367 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9419, allocations: 0 / 1.454 GB, free: 1.367 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.75e-05/0.9419, allocations: 0 / 1.454 GB, free: 1.367 MB / 1.17 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.002996/0.9449, allocations: 1.945 MB / 1.456 GB, free: 15.36 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.945, allocations: 8.031 kB / 1.456 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.9452, allocations: 168.8 kB / 1.456 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.9484, allocations: 494.5 kB / 1.457 GB, free: 14.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.9503, allocations: 1.148 MB / 1.458 GB, free: 13.5 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.9504, allocations: 82.14 kB / 1.458 GB, free: 13.42 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.9505, allocations: 108 kB / 1.458 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9526, allocations: 1.157 MB / 1.459 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.9526, allocations: 4 kB / 1.459 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.9527, allocations: 40 kB / 1.459 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.9528, allocations: 46.14 kB / 1.459 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.9546, allocations: 1.066 MB / 1.46 GB, free: 10.96 MB / 1.186 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.005967/0.9606, allocations: 4.212 MB / 1.465 GB, free: 6.465 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.9619, allocations: 0.7902 MB / 1.465 GB, free: 5.668 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.9627, allocations: 494.2 kB / 1.466 GB, free: 5.184 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/0.9631, allocations: 296.3 kB / 1.466 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.9632, allocations: 47.56 kB / 1.466 GB, free: 4.781 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 4.198e-06/0.9632, allocations: 0 / 1.466 GB, free: 4.781 MB / 1.186 GB Notification: Performance of matching and sorting (n=89): time 0.005605/0.9688, allocations: 2.862 MB / 1.469 GB, free: 1.836 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.9688, allocations: 64.41 kB / 1.469 GB, free: 1.758 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.9701, allocations: 0.9755 MB / 1.47 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.9702, allocations: 45.7 kB / 1.47 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.9707, allocations: 0.5481 MB / 1.471 GB, free: 164 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.971, allocations: 325.2 kB / 1.471 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.9712, allocations: 162.6 kB / 1.471 GB, free: 15.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9714, allocations: 342 kB / 1.471 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.972, allocations: 337.8 kB / 1.472 GB, free: 15.01 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.9727, allocations: 489.9 kB / 1.472 GB, free: 14.48 MB / 1.201 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.006486/0.9792, allocations: 3.039 MB / 1.475 GB, free: 11.37 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9792, allocations: 4 kB / 1.475 GB, free: 11.36 MB / 1.201 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001623/0.9808, allocations: 1.012 MB / 1.476 GB, free: 10.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9808, allocations: 8 kB / 1.476 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9809, allocations: 4 kB / 1.476 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9809, allocations: 4 kB / 1.476 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.9817, allocations: 188.1 kB / 1.476 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.9817, allocations: 11.94 kB / 1.476 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.9826, allocations: 31.94 kB / 1.476 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.9827, allocations: 31.94 kB / 1.476 GB, free: 10.07 MB / 1.201 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.0005709/0.9833, allocations: 381.6 kB / 1.477 GB, free: 9.684 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.9835, allocations: 135.1 kB / 1.477 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.9838, allocations: 148.3 kB / 1.477 GB, free: 9.402 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.9838, allocations: 8 kB / 1.477 GB, free: 9.395 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.9838, allocations: 11.94 kB / 1.477 GB, free: 9.383 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/0.9855, allocations: 1.086 MB / 1.478 GB, free: 8.227 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.9903, allocations: 3.051 MB / 1.481 GB, free: 5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9904, allocations: 12 kB / 1.481 GB, free: 4.988 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.9911, allocations: 159.7 kB / 1.481 GB, free: 4.832 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003406/0.9915, allocations: 110.4 kB / 1.481 GB, free: 4.719 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.9915, allocations: 31.98 kB / 1.481 GB, free: 4.688 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.9943, allocations: 3.09 MB / 1.484 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.9943, allocations: 11.94 kB / 1.484 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.9968, allocations: 1.746 MB / 1.486 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.9973, allocations: 304.2 kB / 1.486 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.9975, allocations: 39.92 kB / 1.486 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.9984, allocations: 35.98 kB / 1.486 GB, free: 15.03 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.9986, allocations: 88.11 kB / 1.486 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.9987, allocations: 43.98 kB / 1.487 GB, free: 14.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000943/0.9996, allocations: 0.6917 MB / 1.487 GB, free: 14.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9996, allocations: 0 / 1.487 GB, free: 14.2 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001017/1.001, allocations: 379.9 kB / 1.488 GB, free: 13.83 MB / 1.217 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.003196/1.004, allocations: 2.431 MB / 1.49 GB, free: 11.26 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001383/1.005, allocations: 0.8395 MB / 1.491 GB, free: 10.42 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.005, allocations: 3.938 kB / 1.491 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009917/1.006, allocations: 0.678 MB / 1.491 GB, free: 9.711 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/1.01, allocations: 0.9169 MB / 1.492 GB, free: 8.812 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/1.024, allocations: 9.726 MB / 1.502 GB, free: 14.65 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/1.025, allocations: 1.253 MB / 1.503 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001038/1.026, allocations: 339 kB / 1.503 GB, free: 13.03 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/1.026, allocations: 475.3 kB / 1.504 GB, free: 12.57 MB / 1.232 GB Notification: Performance of SimCode: time 2.71e-07/1.026, allocations: 0 / 1.504 GB, free: 12.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07746/1.104, allocations: 38.43 MB / 1.541 GB, free: 6.695 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.8, allocations: 4 kB / 1.541 GB, free: 6.691 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches