Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_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.003947/0.003947, allocations: 99.89 kB / 15.73 MB, free: 6.445 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.001059/0.001059, allocations: 194.8 kB / 16.67 MB, free: 6.348 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.21/1.21, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.503/2.503, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2635, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6749/0.9384, allocations: 187.9 MB / 1.425 GB, free: 7.43 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.9523, allocations: 10.76 MB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006745/0.953, allocations: 39.41 kB / 1.436 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.9541, allocations: 0.4888 MB / 1.436 GB, free: 14.31 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.9589, allocations: 2.591 MB / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.9634, allocations: 2.47 MB / 1.441 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.9662, allocations: 2.765 MB / 1.444 GB, free: 8.102 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008808/0.9671, allocations: 0.7695 MB / 1.445 GB, free: 7.32 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.9687, allocations: 1.199 MB / 1.446 GB, free: 6.117 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.9703, allocations: 1.053 MB / 1.447 GB, free: 5.066 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.9705, allocations: 100 kB / 1.447 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.9749, allocations: 2.994 MB / 1.45 GB, free: 1.969 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.9753, allocations: 442.8 kB / 1.45 GB, free: 1.535 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.9759, allocations: 0.5871 MB / 1.451 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.9794, allocations: 2.967 MB / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9795, allocations: 0 / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9795, allocations: 0 / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.9795, allocations: 0 / 1.454 GB, free: 13.97 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.002993/0.9825, allocations: 1.725 MB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.9825, allocations: 16.03 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.9827, allocations: 110.5 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.9843, allocations: 295 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.9855, allocations: 0.832 MB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.9856, allocations: 53.3 kB / 1.457 GB, free: 10.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.9857, allocations: 71.94 kB / 1.457 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.9872, allocations: 0.9921 MB / 1.458 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.9872, allocations: 4 kB / 1.458 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.9873, allocations: 23.98 kB / 1.458 GB, free: 9.734 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/0.9874, allocations: 77.94 kB / 1.458 GB, free: 9.656 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.9889, allocations: 1.015 MB / 1.459 GB, free: 8.641 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.00531/0.9943, allocations: 3.658 MB / 1.463 GB, free: 4.727 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.9953, allocations: 0.6653 MB / 1.463 GB, free: 4.055 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.9959, allocations: 376.8 kB / 1.464 GB, free: 3.688 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.9961, allocations: 198.7 kB / 1.464 GB, free: 3.453 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9962, allocations: 41.12 kB / 1.464 GB, free: 3.406 MB / 1.154 GB Notification: Performance of pre-optimization done (n=62): time 1.623e-06/0.9962, allocations: 0 / 1.464 GB, free: 3.406 MB / 1.154 GB Notification: Performance of matching and sorting (n=62): time 0.001777/0.9979, allocations: 1.029 MB / 1.465 GB, free: 2.371 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.998, allocations: 115.3 kB / 1.465 GB, free: 2.234 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/0.999, allocations: 0.8019 MB / 1.466 GB, free: 1.426 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.999, allocations: 41.7 kB / 1.466 GB, free: 1.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.9993, allocations: 428.7 kB / 1.466 GB, free: 0.957 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.9995, allocations: 234 kB / 1.466 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.9998, allocations: 146.6 kB / 1.466 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9999, allocations: 342 kB / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/1, allocations: 336.7 kB / 1.467 GB, free: 15.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/1.001, allocations: 464.7 kB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.002, allocations: 0.7666 MB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.002, allocations: 4 kB / 1.468 GB, free: 14.61 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001419/1.004, allocations: 0.9377 MB / 1.469 GB, free: 13.67 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.004, allocations: 8 kB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.004, allocations: 0 / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.004, allocations: 12.28 kB / 1.469 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/1.004, allocations: 147.8 kB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.004, allocations: 4 kB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/1.005, allocations: 84.72 kB / 1.469 GB, free: 13.42 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/1.005, allocations: 31.98 kB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007455/1.006, allocations: 0.537 MB / 1.47 GB, free: 12.85 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005981/1.006, allocations: 450.4 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/1.007, allocations: 0.7331 MB / 1.471 GB, free: 11.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/1.007, allocations: 0 / 1.471 GB, free: 11.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001352/1.009, allocations: 0.8948 MB / 1.472 GB, free: 10.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/1.009, allocations: 8 kB / 1.472 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.009, allocations: 4.875 kB / 1.472 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/1.009, allocations: 4 kB / 1.472 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/1.009, allocations: 147.8 kB / 1.472 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.009, allocations: 8 kB / 1.472 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/1.01, allocations: 67.88 kB / 1.472 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/1.01, allocations: 32 kB / 1.472 GB, free: 10.43 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.0001757/1.01, allocations: 220 kB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.01, allocations: 101.3 kB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.012, allocations: 0.8071 MB / 1.473 GB, free: 9.293 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.012, allocations: 4 kB / 1.473 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.012, allocations: 0 / 1.473 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/1.013, allocations: 0.7516 MB / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/1.016, allocations: 2.094 MB / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.016, allocations: 7.938 kB / 1.476 GB, free: 6.301 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.016, allocations: 131.8 kB / 1.476 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.016, allocations: 4 kB / 1.476 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.016, allocations: 16 kB / 1.476 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.016, allocations: 16.31 kB / 1.476 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.016, allocations: 9.562 kB / 1.476 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.018, allocations: 1.356 MB / 1.478 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/1.018, allocations: 264.3 kB / 1.478 GB, free: 4.441 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.019, allocations: 16 kB / 1.478 GB, free: 4.426 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/1.019, allocations: 24.86 kB / 1.478 GB, free: 4.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.019, allocations: 48.27 kB / 1.478 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/1.019, allocations: 23.98 kB / 1.478 GB, free: 4.328 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006403/1.02, allocations: 0.5576 MB / 1.479 GB, free: 3.777 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 4 kB / 1.479 GB, free: 3.773 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001348/1.021, allocations: 0.7597 MB / 1.479 GB, free: 3.012 MB / 1.17 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.003025/1.024, allocations: 2.356 MB / 1.482 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.026, allocations: 1.186 MB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.026, allocations: 0 / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/1.027, allocations: 371.8 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.029, allocations: 0.5427 MB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/1.039, allocations: 7.911 MB / 1.491 GB, free: 6.336 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/1.039, allocations: 1.073 MB / 1.492 GB, free: 5.23 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009973/1.04, allocations: 412.4 kB / 1.493 GB, free: 4.828 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/1.041, allocations: 335.3 kB / 1.493 GB, free: 4.5 MB / 1.186 GB Notification: Performance of SimCode: time 2.41e-07/1.041, allocations: 0 / 1.493 GB, free: 4.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.386/3.426, allocations: 31.4 MB / 1.524 GB, free: 5.441 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/15.86, allocations: 15.61 kB / 1.524 GB, free: 5.43 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches