Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_10_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.004788/0.004788, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001123/0.001123, allocations: 186 kB / 16.67 MB, free: 5.926 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.11 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2432, allocations: 151.6 MB / 1.166 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7225/0.9657, allocations: 242.4 MB / 1.403 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.986, allocations: 15.89 MB / 1.418 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.9879, allocations: 83.66 kB / 1.419 GB, free: 14 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.9905, allocations: 1.221 MB / 1.42 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008193/0.9988, allocations: 3.961 MB / 1.424 GB, free: 9.969 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/1.003, allocations: 1.835 MB / 1.425 GB, free: 8.582 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005398/1.008, allocations: 5.257 MB / 1.43 GB, free: 5.586 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/1.01, allocations: 1.676 MB / 1.432 GB, free: 4.203 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/1.015, allocations: 2.693 MB / 1.435 GB, free: 1.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/1.019, allocations: 1.715 MB / 1.436 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000424/1.019, allocations: 176 kB / 1.437 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/1.024, allocations: 2.716 MB / 1.439 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008766/1.025, allocations: 0.7713 MB / 1.44 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.026, allocations: 1.143 MB / 1.441 GB, free: 10.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005069/1.032, allocations: 3.581 MB / 1.445 GB, free: 7.383 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/1.032, allocations: 0 / 1.445 GB, free: 7.383 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.263e-06/1.032, allocations: 0 / 1.445 GB, free: 7.383 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.306e-05/1.032, allocations: 0 / 1.445 GB, free: 7.383 MB / 1.107 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.004693/1.036, allocations: 2.574 MB / 1.447 GB, free: 4.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.036, allocations: 8.031 kB / 1.447 GB, free: 4.742 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/1.037, allocations: 215.1 kB / 1.447 GB, free: 4.523 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/1.04, allocations: 0.5177 MB / 1.448 GB, free: 4.004 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/1.042, allocations: 1.372 MB / 1.449 GB, free: 2.578 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/1.042, allocations: 170.2 kB / 1.449 GB, free: 2.398 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.042, allocations: 159.9 kB / 1.45 GB, free: 2.242 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/1.045, allocations: 1.742 MB / 1.451 GB, free: 436 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/1.045, allocations: 0 / 1.451 GB, free: 436 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.045, allocations: 64 kB / 1.451 GB, free: 372 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/1.046, allocations: 58.69 kB / 1.451 GB, free: 312 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/1.048, allocations: 1.381 MB / 1.453 GB, free: 14.91 MB / 1.123 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.009201/1.057, allocations: 8.208 MB / 1.461 GB, free: 6.012 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.059, allocations: 0.9082 MB / 1.462 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/1.06, allocations: 0.5346 MB / 1.462 GB, free: 4.559 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/1.06, allocations: 312.2 kB / 1.462 GB, free: 4.199 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.061, allocations: 59.48 kB / 1.462 GB, free: 4.133 MB / 1.123 GB Notification: Performance of pre-optimization done (n=96): time 2.155e-06/1.061, allocations: 0 / 1.462 GB, free: 4.133 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.006502/1.067, allocations: 3.147 MB / 1.466 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.067, allocations: 64.34 kB / 1.466 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.069, allocations: 1.254 MB / 1.467 GB, free: 15.6 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/1.069, allocations: 53.7 kB / 1.467 GB, free: 15.54 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/1.069, allocations: 0.8306 MB / 1.468 GB, free: 14.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/1.07, allocations: 380.7 kB / 1.468 GB, free: 14.32 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.07, allocations: 230.8 kB / 1.468 GB, free: 14.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.07, allocations: 357.9 kB / 1.469 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/1.071, allocations: 437.9 kB / 1.469 GB, free: 13.31 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.072, allocations: 0.826 MB / 1.47 GB, free: 12.31 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.074, allocations: 1.256 MB / 1.471 GB, free: 10.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.074, allocations: 4 kB / 1.471 GB, free: 10.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002411/1.076, allocations: 1.41 MB / 1.472 GB, free: 9.512 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.076, allocations: 12 kB / 1.472 GB, free: 9.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.076, allocations: 8 kB / 1.472 GB, free: 9.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/1.077, allocations: 16 kB / 1.472 GB, free: 9.477 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.078, allocations: 275.6 kB / 1.473 GB, free: 9.207 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.078, allocations: 19.94 kB / 1.473 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.079, allocations: 79.69 kB / 1.473 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/1.079, allocations: 48 kB / 1.473 GB, free: 9.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/1.08, allocations: 0.7718 MB / 1.474 GB, free: 8.293 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.081, allocations: 0.8259 MB / 1.474 GB, free: 7.301 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001879/1.083, allocations: 1.229 MB / 1.476 GB, free: 5.945 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/1.083, allocations: 5.562 kB / 1.476 GB, free: 5.941 MB / 1.139 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002322/1.086, allocations: 1.395 MB / 1.477 GB, free: 4.539 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.086, allocations: 12 kB / 1.477 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.086, allocations: 8.094 kB / 1.477 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.086, allocations: 20 kB / 1.477 GB, free: 4.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.087, allocations: 279.5 kB / 1.477 GB, free: 4.227 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.087, allocations: 19.94 kB / 1.477 GB, free: 4.207 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.088, allocations: 67.94 kB / 1.477 GB, free: 4.141 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/1.088, allocations: 52.56 kB / 1.477 GB, free: 4.09 MB / 1.139 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.0002593/1.088, allocations: 279.8 kB / 1.478 GB, free: 3.809 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/1.089, allocations: 170.9 kB / 1.478 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/1.091, allocations: 1.159 MB / 1.479 GB, free: 2.477 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.091, allocations: 12 kB / 1.479 GB, free: 2.465 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.091, allocations: 0 / 1.479 GB, free: 2.465 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/1.092, allocations: 1.091 MB / 1.48 GB, free: 1.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/1.097, allocations: 2.785 MB / 1.483 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.097, allocations: 4 kB / 1.483 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.098, allocations: 247.9 kB / 1.483 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/1.098, allocations: 7.938 kB / 1.483 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/1.098, allocations: 27.98 kB / 1.483 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.098, allocations: 4 kB / 1.483 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.098, allocations: 4 kB / 1.483 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/1.101, allocations: 1.772 MB / 1.485 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/1.102, allocations: 347.8 kB / 1.485 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.102, allocations: 23.94 kB / 1.485 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.103, allocations: 59.94 kB / 1.485 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.103, allocations: 64.95 kB / 1.485 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/1.103, allocations: 43.97 kB / 1.485 GB, free: 11.8 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001053/1.104, allocations: 0.8387 MB / 1.486 GB, free: 10.97 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.81e-07/1.104, allocations: 0 / 1.486 GB, free: 10.97 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001722/1.106, allocations: 0.7655 MB / 1.487 GB, free: 10.2 MB / 1.154 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.003516/1.11, allocations: 2.493 MB / 1.489 GB, free: 7.672 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.113, allocations: 1.736 MB / 1.491 GB, free: 5.941 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.113, allocations: 7.938 kB / 1.491 GB, free: 5.934 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008785/1.113, allocations: 0.5175 MB / 1.492 GB, free: 5.418 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.117, allocations: 0.9099 MB / 1.492 GB, free: 4.52 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.134, allocations: 12.05 MB / 1.504 GB, free: 7.965 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.135, allocations: 1.445 MB / 1.506 GB, free: 6.488 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001636/1.137, allocations: 0.5522 MB / 1.506 GB, free: 5.93 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008598/1.137, allocations: 0.6828 MB / 1.507 GB, free: 5.246 MB / 1.17 GB Notification: Performance of SimCode: time 5.41e-07/1.137, allocations: 3.938 kB / 1.507 GB, free: 5.242 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07303/1.211, allocations: 45.03 MB / 1.551 GB, free: 8.828 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.63, allocations: 13.98 kB / 1.551 GB, free: 8.816 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches