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 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.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.00446/0.00446, allocations: 99.69 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.001288/0.001288, allocations: 192.3 kB / 16.67 MB, free: 5.949 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 482.4 MB / 0.7548 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 67.84 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2865, allocations: 162.2 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7605/1.047, allocations: 210 MB / 1.447 GB, free: 5.652 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.062, allocations: 9.868 MB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/1.064, allocations: 67.56 kB / 1.456 GB, free: 11.71 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/1.066, allocations: 0.7765 MB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006627/1.072, allocations: 2.8 MB / 1.46 GB, free: 8.113 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/1.076, allocations: 1.383 MB / 1.461 GB, free: 6.738 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005377/1.081, allocations: 4.068 MB / 1.465 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/1.083, allocations: 1.328 MB / 1.466 GB, free: 1.301 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/1.087, allocations: 1.767 MB / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/1.09, allocations: 1.2 MB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/1.09, allocations: 144 kB / 1.469 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004825/1.095, allocations: 2.358 MB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007333/1.095, allocations: 0.6039 MB / 1.472 GB, free: 11.22 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.097, allocations: 0.8634 MB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004945/1.102, allocations: 3.017 MB / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.102, allocations: 3.984 kB / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/1.102, allocations: 0 / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.102, allocations: 0 / 1.476 GB, free: 7.324 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.003117/1.105, allocations: 1.949 MB / 1.478 GB, free: 5.316 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.105, allocations: 8.031 kB / 1.478 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/1.105, allocations: 173.7 kB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/1.108, allocations: 498.5 kB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.11, allocations: 1.136 MB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.11, allocations: 82.14 kB / 1.48 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.111, allocations: 112 kB / 1.48 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.113, allocations: 1.153 MB / 1.481 GB, free: 2.086 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/1.113, allocations: 3.938 kB / 1.481 GB, free: 2.082 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.113, allocations: 48 kB / 1.481 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/1.113, allocations: 42.08 kB / 1.481 GB, free: 1.992 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.115, allocations: 1.074 MB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/1.121, allocations: 4.441 MB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/1.122, allocations: 0.79 MB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/1.123, allocations: 490.2 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004309/1.123, allocations: 288.3 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.123, allocations: 47.56 kB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.756e-06/1.123, allocations: 0 / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=89): time 0.005856/1.129, allocations: 2.87 MB / 1.491 GB, free: 7.504 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.129, allocations: 60.41 kB / 1.491 GB, free: 7.434 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.131, allocations: 0.9754 MB / 1.492 GB, free: 6.441 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/1.131, allocations: 45.7 kB / 1.492 GB, free: 6.391 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/1.131, allocations: 0.552 MB / 1.492 GB, free: 5.832 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/1.132, allocations: 329.2 kB / 1.493 GB, free: 5.508 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.132, allocations: 154.6 kB / 1.493 GB, free: 5.352 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.132, allocations: 345.9 kB / 1.493 GB, free: 5.008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/1.133, allocations: 337.8 kB / 1.494 GB, free: 4.676 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/1.133, allocations: 481.9 kB / 1.494 GB, free: 4.168 MB / 1.186 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.006442/1.14, allocations: 3.047 MB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.14, allocations: 0 / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001708/1.141, allocations: 1.02 MB / 1.498 GB, free: 12 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.141, allocations: 8 kB / 1.498 GB, free: 4 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.141, allocations: 7.984 kB / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.142, allocations: 4 kB / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.142, allocations: 175.8 kB / 1.498 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/1.142, allocations: 11.94 kB / 1.498 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009774/1.143, allocations: 31.94 kB / 1.498 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/1.143, allocations: 32.28 kB / 1.498 GB, free: 15.75 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.0006076/1.144, allocations: 388.1 kB / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.144, allocations: 139.1 kB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/1.145, allocations: 148.3 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.145, allocations: 8 kB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.145, allocations: 0 / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/1.146, allocations: 1.094 MB / 1.5 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/1.151, allocations: 3.051 MB / 1.503 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.151, allocations: 12 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/1.152, allocations: 163.7 kB / 1.503 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/1.152, allocations: 97.66 kB / 1.503 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/1.152, allocations: 28.28 kB / 1.503 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/1.155, allocations: 3.086 MB / 1.506 GB, free: 7.004 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.155, allocations: 12 kB / 1.506 GB, free: 6.992 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/1.158, allocations: 1.746 MB / 1.508 GB, free: 5.109 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/1.158, allocations: 304.2 kB / 1.508 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.159, allocations: 35.94 kB / 1.508 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/1.16, allocations: 44.09 kB / 1.508 GB, free: 4.715 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.16, allocations: 88.11 kB / 1.508 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/1.16, allocations: 47.98 kB / 1.509 GB, free: 4.582 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009836/1.161, allocations: 0.6956 MB / 1.509 GB, free: 3.879 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.161, allocations: 3.938 kB / 1.509 GB, free: 3.875 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001074/1.162, allocations: 371.9 kB / 1.51 GB, free: 3.512 MB / 1.201 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.003217/1.165, allocations: 2.442 MB / 1.512 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.167, allocations: 0.8473 MB / 1.513 GB, free: 88 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.167, allocations: 0 / 1.513 GB, free: 88 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.168, allocations: 0.6775 MB / 1.513 GB, free: 15.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.172, allocations: 0.9181 MB / 1.514 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.185, allocations: 9.722 MB / 1.524 GB, free: 4.316 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/1.186, allocations: 1.253 MB / 1.525 GB, free: 3.027 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001202/1.187, allocations: 339 kB / 1.525 GB, free: 2.691 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/1.188, allocations: 471.3 kB / 1.526 GB, free: 2.23 MB / 1.217 GB Notification: Performance of SimCode: time 4.91e-07/1.188, allocations: 0 / 1.526 GB, free: 2.23 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08014/1.268, allocations: 38.42 MB / 1.563 GB, free: 12.33 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.16, allocations: 16.06 kB / 1.563 GB, free: 12.31 MB / 1.264 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 400 --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