Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.009484/0.009484, allocations: 104.2 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.001878/0.001878, allocations: 194 kB / 16.67 MB, free: 5.969 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.309 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.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 62.62 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8088/1.116, allocations: 242.4 MB / 1.324 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02135/1.137, allocations: 15.89 MB / 1.34 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/1.14, allocations: 76.56 kB / 1.34 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003233/1.143, allocations: 1.183 MB / 1.341 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.154, allocations: 3.819 MB / 1.345 GB, free: 2.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005134/1.159, allocations: 1.823 MB / 1.346 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007326/1.166, allocations: 5.254 MB / 1.352 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/1.169, allocations: 1.663 MB / 1.353 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/1.176, allocations: 2.617 MB / 1.356 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/1.18, allocations: 1.719 MB / 1.357 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006577/1.18, allocations: 175.6 kB / 1.358 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006206/1.187, allocations: 2.705 MB / 1.36 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/1.188, allocations: 0.7693 MB / 1.361 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002575/1.19, allocations: 1.148 MB / 1.362 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006588/1.197, allocations: 3.554 MB / 1.366 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.197, allocations: 1.641 kB / 1.366 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.197, allocations: 4 kB / 1.366 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001198/1.197, allocations: 0 / 1.366 GB, free: 12.89 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005845/1.203, allocations: 2.51 MB / 1.368 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.203, allocations: 7.562 kB / 1.368 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/1.204, allocations: 218.1 kB / 1.368 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/1.207, allocations: 0.5006 MB / 1.369 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/1.21, allocations: 1.36 MB / 1.37 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/1.21, allocations: 173.9 kB / 1.37 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/1.21, allocations: 151.3 kB / 1.37 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/1.213, allocations: 1.738 MB / 1.372 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/1.213, allocations: 5.906 kB / 1.372 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.213, allocations: 64.94 kB / 1.372 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/1.213, allocations: 58.88 kB / 1.372 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/1.216, allocations: 1.375 MB / 1.374 GB, free: 9.027 MB / 1.029 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.009784/1.226, allocations: 8.213 MB / 1.382 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.227, allocations: 0.8975 MB / 1.382 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/1.228, allocations: 0.5334 MB / 1.383 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/1.229, allocations: 322.5 kB / 1.383 GB, free: 1.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.229, allocations: 48.7 kB / 1.383 GB, free: 1.656 MB / 1.029 GB Notification: Performance of pre-optimization done (n=96): time 3.036e-06/1.229, allocations: 0 / 1.383 GB, free: 1.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=102): time 0.006717/1.236, allocations: 3.127 MB / 1.386 GB, free: 15.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.236, allocations: 62.59 kB / 1.386 GB, free: 15.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/1.237, allocations: 1.257 MB / 1.388 GB, free: 15.17 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.238, allocations: 49.83 kB / 1.388 GB, free: 15.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/1.238, allocations: 0.8136 MB / 1.389 GB, free: 14.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.238, allocations: 365.2 kB / 1.389 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.239, allocations: 227.7 kB / 1.389 GB, free: 13.97 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.239, allocations: 356.7 kB / 1.389 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/1.24, allocations: 441.4 kB / 1.39 GB, free: 13.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.241, allocations: 0.8317 MB / 1.391 GB, free: 12.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/1.243, allocations: 1.251 MB / 1.392 GB, free: 11.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.243, allocations: 2.625 kB / 1.392 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002367/1.245, allocations: 1.403 MB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.245, allocations: 13.09 kB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.245, allocations: 8.125 kB / 1.393 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/1.245, allocations: 23.72 kB / 1.393 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.246, allocations: 283.9 kB / 1.394 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/1.246, allocations: 16.56 kB / 1.394 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.248, allocations: 71.81 kB / 1.394 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/1.248, allocations: 47.12 kB / 1.394 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001221/1.249, allocations: 0.7769 MB / 1.394 GB, free: 10.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001037/1.25, allocations: 0.8125 MB / 1.395 GB, free: 9.965 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001967/1.252, allocations: 1.24 MB / 1.396 GB, free: 9.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.874e-06/1.252, allocations: 2.469 kB / 1.396 GB, free: 9.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002349/1.254, allocations: 1.384 MB / 1.398 GB, free: 8.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.254, allocations: 7.219 kB / 1.398 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.254, allocations: 9.656 kB / 1.398 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.254, allocations: 21.22 kB / 1.398 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.255, allocations: 276.5 kB / 1.398 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/1.255, allocations: 20.5 kB / 1.398 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.257, allocations: 79.69 kB / 1.398 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/1.257, allocations: 51.78 kB / 1.398 GB, free: 8.395 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002798/1.257, allocations: 264.8 kB / 1.399 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.257, allocations: 170.8 kB / 1.399 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/1.26, allocations: 1.158 MB / 1.4 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.26, allocations: 10.53 kB / 1.4 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.26, allocations: 0 / 1.4 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/1.261, allocations: 1.078 MB / 1.401 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/1.266, allocations: 2.784 MB / 1.404 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.266, allocations: 2.938 kB / 1.404 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.267, allocations: 241.3 kB / 1.404 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/1.267, allocations: 12 kB / 1.404 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/1.267, allocations: 26.45 kB / 1.404 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/1.267, allocations: 5.594 kB / 1.404 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.267, allocations: 10.44 kB / 1.404 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/1.27, allocations: 1.766 MB / 1.406 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/1.271, allocations: 339 kB / 1.406 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.271, allocations: 20 kB / 1.406 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.272, allocations: 61.06 kB / 1.406 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.272, allocations: 64.86 kB / 1.406 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/1.272, allocations: 39.97 kB / 1.406 GB, free: 3.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001119/1.273, allocations: 0.8387 MB / 1.407 GB, free: 2.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.273, allocations: 2.531 kB / 1.407 GB, free: 2.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002053/1.276, allocations: 0.7695 MB / 1.408 GB, free: 1.555 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.00376/1.279, allocations: 2.499 MB / 1.41 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003112/1.282, allocations: 1.745 MB / 1.412 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.282, allocations: 0 / 1.412 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/1.283, allocations: 0.5119 MB / 1.412 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/1.287, allocations: 0.923 MB / 1.413 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.305, allocations: 12 MB / 1.425 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.306, allocations: 1.437 MB / 1.426 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001707/1.308, allocations: 0.56 MB / 1.427 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009077/1.309, allocations: 0.6867 MB / 1.428 GB, free: 12.83 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.309, allocations: 0 / 1.428 GB, free: 12.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/1.387, allocations: 45 MB / 1.472 GB, free: 396 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.49, allocations: 18.44 kB / 1.472 GB, free: 380 kB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches