Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_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.007765/0.007765, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00182/0.00182, allocations: 193.2 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.188/2.188, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7168, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1946/0.9115, allocations: 187.9 MB / 1.271 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.9258, allocations: 10.77 MB / 1.281 GB, free: 7.023 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.9269, allocations: 39.75 kB / 1.281 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.9283, allocations: 0.4971 MB / 1.282 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.9342, allocations: 2.661 MB / 1.285 GB, free: 3.812 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005383/0.9396, allocations: 2.461 MB / 1.287 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.9427, allocations: 2.774 MB / 1.29 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.9439, allocations: 0.7722 MB / 1.29 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.9456, allocations: 1.035 MB / 1.291 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.9476, allocations: 1.053 MB / 1.292 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.9478, allocations: 96 kB / 1.293 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/0.9529, allocations: 3.021 MB / 1.296 GB, free: 8.578 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.9535, allocations: 438.8 kB / 1.296 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008314/0.9543, allocations: 0.5833 MB / 1.297 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.959, allocations: 2.963 MB / 1.299 GB, free: 4.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.959, allocations: 0 / 1.299 GB, free: 4.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.959, allocations: 0 / 1.299 GB, free: 4.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.23e-05/0.9591, allocations: 0 / 1.299 GB, free: 4.59 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003749/0.9628, allocations: 1.721 MB / 1.301 GB, free: 2.812 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.9629, allocations: 12.03 kB / 1.301 GB, free: 2.801 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.9631, allocations: 110.5 kB / 1.301 GB, free: 2.684 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.965, allocations: 306.9 kB / 1.301 GB, free: 2.383 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.9664, allocations: 0.8358 MB / 1.302 GB, free: 1.508 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.9665, allocations: 53.3 kB / 1.302 GB, free: 1.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.9666, allocations: 71.97 kB / 1.302 GB, free: 1.383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.9682, allocations: 0.9999 MB / 1.303 GB, free: 376 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.9682, allocations: 0 / 1.303 GB, free: 376 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.9683, allocations: 27.98 kB / 1.303 GB, free: 348 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.9684, allocations: 69.95 kB / 1.303 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.9701, allocations: 1.015 MB / 1.304 GB, free: 15.25 MB / 1.045 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.005873/0.976, allocations: 3.587 MB / 1.308 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.977, allocations: 0.6654 MB / 1.309 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.9776, allocations: 370.4 kB / 1.309 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.9778, allocations: 198.8 kB / 1.309 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.9779, allocations: 39.5 kB / 1.309 GB, free: 10.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.9779, allocations: 0 / 1.309 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.001885/0.9798, allocations: 1.033 MB / 1.31 GB, free: 9.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.9799, allocations: 111.4 kB / 1.31 GB, free: 8.945 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.9808, allocations: 0.8058 MB / 1.311 GB, free: 8.133 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.9809, allocations: 41.7 kB / 1.311 GB, free: 8.086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.9812, allocations: 420.8 kB / 1.312 GB, free: 7.668 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.9814, allocations: 234 kB / 1.312 GB, free: 7.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.9817, allocations: 138.6 kB / 1.312 GB, free: 7.297 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9818, allocations: 334 kB / 1.312 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.9824, allocations: 344.7 kB / 1.313 GB, free: 6.625 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.9831, allocations: 476.5 kB / 1.313 GB, free: 6.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.9842, allocations: 0.7665 MB / 1.314 GB, free: 5.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.9842, allocations: 7.938 kB / 1.314 GB, free: 5.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001529/0.9858, allocations: 0.93 MB / 1.315 GB, free: 4.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9858, allocations: 8 kB / 1.315 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9858, allocations: 0 / 1.315 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.9858, allocations: 8 kB / 1.315 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.9865, allocations: 151.7 kB / 1.315 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.9866, allocations: 4 kB / 1.315 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.9873, allocations: 87.67 kB / 1.315 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.9874, allocations: 31.98 kB / 1.315 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007649/0.9882, allocations: 0.537 MB / 1.315 GB, free: 3.551 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006094/0.9888, allocations: 442.5 kB / 1.316 GB, free: 3.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.9899, allocations: 0.7369 MB / 1.317 GB, free: 2.301 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.9899, allocations: 0 / 1.317 GB, free: 2.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00143/0.9913, allocations: 0.8947 MB / 1.318 GB, free: 1.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.9914, allocations: 8.281 kB / 1.318 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.9914, allocations: 8 kB / 1.318 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.9914, allocations: 4.094 kB / 1.318 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.9921, allocations: 151.7 kB / 1.318 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.9921, allocations: 8 kB / 1.318 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/0.9928, allocations: 67.59 kB / 1.318 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.9929, allocations: 24 kB / 1.318 GB, free: 1.133 MB / 1.045 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.0002148/0.9931, allocations: 220.6 kB / 1.318 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.9933, allocations: 103.4 kB / 1.318 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.9946, allocations: 0.8071 MB / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.9946, allocations: 4 kB / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9947, allocations: 0 / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.9957, allocations: 0.7478 MB / 1.32 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.9987, allocations: 2.102 MB / 1.322 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.9988, allocations: 7.938 kB / 1.322 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.9994, allocations: 131.8 kB / 1.322 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.9994, allocations: 4 kB / 1.322 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.9995, allocations: 20 kB / 1.322 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.9995, allocations: 8 kB / 1.322 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.9995, allocations: 11.92 kB / 1.322 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/1.001, allocations: 1.364 MB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.002, allocations: 252.4 kB / 1.323 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.002, allocations: 16 kB / 1.323 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/1.002, allocations: 29.77 kB / 1.323 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/1.003, allocations: 52.27 kB / 1.323 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/1.003, allocations: 23.98 kB / 1.324 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006552/1.003, allocations: 0.5614 MB / 1.324 GB, free: 10.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0 / 1.324 GB, free: 10.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001598/1.005, allocations: 0.7597 MB / 1.325 GB, free: 9.707 MB / 1.061 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.003163/1.008, allocations: 2.351 MB / 1.327 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001886/1.01, allocations: 1.183 MB / 1.328 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.01, allocations: 4.062 kB / 1.328 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005138/1.011, allocations: 370.1 kB / 1.329 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.013, allocations: 0.5395 MB / 1.329 GB, free: 5.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.023, allocations: 7.906 MB / 1.337 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/1.024, allocations: 1.081 MB / 1.338 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001162/1.025, allocations: 417.5 kB / 1.338 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/1.025, allocations: 331.3 kB / 1.339 GB, free: 11.2 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.025, allocations: 0 / 1.339 GB, free: 11.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/1.081, allocations: 31.39 MB / 1.369 GB, free: 12.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.78, allocations: 7.812 kB / 1.369 GB, free: 12.19 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches