Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.00765/0.00765, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.002071/0.002071, allocations: 189.7 kB / 16.67 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.712/2.712, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6835, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2087/0.8922, allocations: 187.9 MB / 1.404 GB, free: 5.473 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.908, allocations: 10.77 MB / 1.414 GB, free: 10.67 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009678/0.909, allocations: 39.75 kB / 1.414 GB, free: 10.63 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.9104, allocations: 489 kB / 1.415 GB, free: 10.15 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.9168, allocations: 2.579 MB / 1.417 GB, free: 7.562 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.9223, allocations: 2.474 MB / 1.42 GB, free: 5.094 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00346/0.9258, allocations: 2.771 MB / 1.422 GB, free: 2.312 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.9269, allocations: 0.7683 MB / 1.423 GB, free: 1.535 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.9283, allocations: 0.9925 MB / 1.424 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.9302, allocations: 1.061 MB / 1.425 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.9304, allocations: 99.98 kB / 1.425 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005493/0.9359, allocations: 3.005 MB / 1.428 GB, free: 12.37 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.9364, allocations: 430.9 kB / 1.428 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.9371, allocations: 0.5871 MB / 1.429 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.9415, allocations: 2.971 MB / 1.432 GB, free: 8.375 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9415, allocations: 4 kB / 1.432 GB, free: 8.371 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9415, allocations: 0 / 1.432 GB, free: 8.371 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.9416, allocations: 0 / 1.432 GB, free: 8.371 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003488/0.945, allocations: 1.71 MB / 1.434 GB, free: 6.605 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9451, allocations: 8.031 kB / 1.434 GB, free: 6.598 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.9453, allocations: 122.5 kB / 1.434 GB, free: 6.469 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.9471, allocations: 306.9 kB / 1.434 GB, free: 6.168 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.9485, allocations: 0.8281 MB / 1.435 GB, free: 5.297 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.9486, allocations: 53.3 kB / 1.435 GB, free: 5.242 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.9487, allocations: 71.91 kB / 1.435 GB, free: 5.172 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.9505, allocations: 0.996 MB / 1.436 GB, free: 4.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.9505, allocations: 4 kB / 1.436 GB, free: 4.156 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.9506, allocations: 27.98 kB / 1.436 GB, free: 4.129 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.9507, allocations: 77.94 kB / 1.436 GB, free: 4.051 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.9525, allocations: 1.007 MB / 1.437 GB, free: 3.043 MB / 1.154 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.006051/0.9585, allocations: 3.583 MB / 1.441 GB, free: 15.22 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.9597, allocations: 0.6674 MB / 1.441 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.9603, allocations: 389 kB / 1.442 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.9606, allocations: 194.8 kB / 1.442 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9607, allocations: 47.06 kB / 1.442 GB, free: 13.89 MB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 2.054e-06/0.9607, allocations: 0 / 1.442 GB, free: 13.89 MB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.001975/0.9627, allocations: 1.025 MB / 1.443 GB, free: 12.86 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9627, allocations: 107.4 kB / 1.443 GB, free: 12.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.9638, allocations: 0.8058 MB / 1.444 GB, free: 11.92 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.9638, allocations: 37.7 kB / 1.444 GB, free: 11.88 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.9642, allocations: 428.8 kB / 1.444 GB, free: 11.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.9644, allocations: 234 kB / 1.444 GB, free: 11.22 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.9647, allocations: 138.6 kB / 1.444 GB, free: 11.08 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9648, allocations: 337.9 kB / 1.445 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.9655, allocations: 340.7 kB / 1.445 GB, free: 10.41 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.9662, allocations: 468.7 kB / 1.446 GB, free: 9.918 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9674, allocations: 0.7626 MB / 1.446 GB, free: 9.125 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.9674, allocations: 7.875 kB / 1.446 GB, free: 9.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001599/0.969, allocations: 0.938 MB / 1.447 GB, free: 8.172 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9691, allocations: 4 kB / 1.447 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9691, allocations: 4 kB / 1.447 GB, free: 8.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.9691, allocations: 4 kB / 1.447 GB, free: 8.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.9698, allocations: 155.8 kB / 1.447 GB, free: 8.008 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9698, allocations: 4 kB / 1.447 GB, free: 8.004 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.9706, allocations: 87.38 kB / 1.447 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.9706, allocations: 24 kB / 1.447 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008411/0.9715, allocations: 0.537 MB / 1.448 GB, free: 7.355 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006723/0.9722, allocations: 454.4 kB / 1.448 GB, free: 6.871 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001175/0.9733, allocations: 0.7331 MB / 1.449 GB, free: 6.102 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.9734, allocations: 0 / 1.449 GB, free: 6.102 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001496/0.9749, allocations: 0.8908 MB / 1.45 GB, free: 5.203 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9749, allocations: 8 kB / 1.45 GB, free: 5.195 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9749, allocations: 3.984 kB / 1.45 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.9749, allocations: 8.094 kB / 1.45 GB, free: 5.184 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.9756, allocations: 156 kB / 1.45 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9756, allocations: 11.94 kB / 1.45 GB, free: 5.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.9763, allocations: 67.62 kB / 1.45 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.9764, allocations: 24 kB / 1.45 GB, free: 4.93 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002117/0.9766, allocations: 223.1 kB / 1.451 GB, free: 4.707 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9768, allocations: 95.39 kB / 1.451 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.9782, allocations: 0.8086 MB / 1.451 GB, free: 3.797 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.9783, allocations: 12 kB / 1.451 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9783, allocations: 0 / 1.451 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.9794, allocations: 0.7361 MB / 1.452 GB, free: 3.02 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.9826, allocations: 2.109 MB / 1.454 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.9827, allocations: 4 kB / 1.454 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.9833, allocations: 136.2 kB / 1.454 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.9833, allocations: 8 kB / 1.454 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.9834, allocations: 16 kB / 1.454 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.9834, allocations: 11.94 kB / 1.454 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9834, allocations: 4 kB / 1.454 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.9855, allocations: 1.368 MB / 1.456 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.9858, allocations: 256.3 kB / 1.456 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.986, allocations: 20 kB / 1.456 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.9865, allocations: 23.98 kB / 1.456 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.9866, allocations: 44.27 kB / 1.456 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.9867, allocations: 27.98 kB / 1.456 GB, free: 14.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007326/0.9874, allocations: 0.5537 MB / 1.457 GB, free: 14.27 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9874, allocations: 0 / 1.457 GB, free: 14.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001623/0.9891, allocations: 0.7674 MB / 1.457 GB, free: 13.5 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.003425/0.9925, allocations: 2.363 MB / 1.46 GB, free: 11.08 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.9945, allocations: 1.186 MB / 1.461 GB, free: 9.891 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9945, allocations: 0 / 1.461 GB, free: 9.891 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.9951, allocations: 380.1 kB / 1.461 GB, free: 9.523 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.9975, allocations: 0.5295 MB / 1.462 GB, free: 9 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.009, allocations: 7.918 MB / 1.469 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/1.01, allocations: 1.073 MB / 1.47 GB, free: 15.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001164/1.011, allocations: 416.2 kB / 1.471 GB, free: 15.3 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/1.011, allocations: 335.3 kB / 1.471 GB, free: 14.97 MB / 1.201 GB Notification: Performance of SimCode: time 4.61e-07/1.011, allocations: 0 / 1.471 GB, free: 14.97 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/1.074, allocations: 31.37 MB / 1.502 GB, free: 15.98 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.41, allocations: 17.55 kB / 1.502 GB, free: 15.97 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches