Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.004616/0.004616, allocations: 102 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.001311/0.001311, allocations: 192 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.698/2.698, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 71.88 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7091, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2385/0.9477, allocations: 222.6 MB / 1.438 GB, free: 2.582 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.9651, allocations: 12.12 MB / 1.449 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.9668, allocations: 75.62 kB / 1.449 GB, free: 6.359 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.9688, allocations: 0.8537 MB / 1.45 GB, free: 5.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006489/0.9753, allocations: 2.859 MB / 1.453 GB, free: 2.629 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.9787, allocations: 1.446 MB / 1.455 GB, free: 1.191 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005639/0.9844, allocations: 4.449 MB / 1.459 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.9868, allocations: 1.713 MB / 1.461 GB, free: 10.97 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/0.9921, allocations: 2.471 MB / 1.463 GB, free: 8.496 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.995, allocations: 1.552 MB / 1.464 GB, free: 6.953 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.9953, allocations: 183.9 kB / 1.465 GB, free: 6.773 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.9996, allocations: 2.171 MB / 1.467 GB, free: 4.598 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00074/1, allocations: 0.7012 MB / 1.467 GB, free: 3.895 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.002, allocations: 1.05 MB / 1.468 GB, free: 2.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004734/1.006, allocations: 3.336 MB / 1.472 GB, free: 15.49 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.006, allocations: 0 / 1.472 GB, free: 15.49 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.403e-06/1.006, allocations: 0 / 1.472 GB, free: 15.49 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.876e-05/1.006, allocations: 0 / 1.472 GB, free: 15.49 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003862/1.01, allocations: 2.336 MB / 1.474 GB, free: 13.1 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/1.01, allocations: 8.031 kB / 1.474 GB, free: 13.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/1.011, allocations: 210.8 kB / 1.474 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/1.014, allocations: 0.5061 MB / 1.475 GB, free: 12.37 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/1.016, allocations: 1.354 MB / 1.476 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/1.016, allocations: 110.8 kB / 1.476 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/1.016, allocations: 148 kB / 1.476 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/1.019, allocations: 1.764 MB / 1.478 GB, free: 8.828 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/1.019, allocations: 7.938 kB / 1.478 GB, free: 8.82 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.019, allocations: 71.92 kB / 1.478 GB, free: 8.75 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/1.019, allocations: 54.53 kB / 1.478 GB, free: 8.695 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/1.022, allocations: 1.399 MB / 1.48 GB, free: 7.289 MB / 1.201 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.009109/1.031, allocations: 7.317 MB / 1.487 GB, free: 15.6 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/1.033, allocations: 1.044 MB / 1.488 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.034, allocations: 0.7061 MB / 1.488 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/1.034, allocations: 106.2 kB / 1.488 GB, free: 13.67 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.034, allocations: 51.56 kB / 1.489 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/1.035, allocations: 318.9 kB / 1.489 GB, free: 13.3 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.996e-06/1.035, allocations: 0 / 1.489 GB, free: 13.3 MB / 1.217 GB Notification: Performance of matching and sorting (n=112): time 0.008385/1.043, allocations: 4.532 MB / 1.493 GB, free: 8.699 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/1.044, allocations: 171.3 kB / 1.493 GB, free: 8.496 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.045, allocations: 1.263 MB / 1.495 GB, free: 7.223 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/1.045, allocations: 57.69 kB / 1.495 GB, free: 7.16 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006013/1.046, allocations: 0.7098 MB / 1.495 GB, free: 6.445 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/1.046, allocations: 412.5 kB / 1.496 GB, free: 6.039 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/1.047, allocations: 267.5 kB / 1.496 GB, free: 5.77 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.047, allocations: 353.9 kB / 1.496 GB, free: 5.418 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/1.048, allocations: 0.5349 MB / 1.497 GB, free: 4.883 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.049, allocations: 0.8557 MB / 1.498 GB, free: 3.902 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.061, allocations: 4.797 MB / 1.502 GB, free: 14.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.061, allocations: 0 / 1.502 GB, free: 14.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002952/1.064, allocations: 1.624 MB / 1.504 GB, free: 13.32 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.064, allocations: 8 kB / 1.504 GB, free: 13.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.064, allocations: 8 kB / 1.504 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/1.064, allocations: 16 kB / 1.504 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.065, allocations: 287.5 kB / 1.504 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/1.066, allocations: 24.41 kB / 1.504 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.067, allocations: 63.86 kB / 1.504 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.067, allocations: 59.98 kB / 1.504 GB, free: 12.86 MB / 1.232 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0008062/1.068, allocations: 431.5 kB / 1.505 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.068, allocations: 171 kB / 1.505 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/1.07, allocations: 1.287 MB / 1.506 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.07, allocations: 12 kB / 1.506 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.07, allocations: 7.938 kB / 1.506 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/1.072, allocations: 1.244 MB / 1.508 GB, free: 9.633 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/1.078, allocations: 3.762 MB / 1.511 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.078, allocations: 8 kB / 1.511 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.079, allocations: 243.6 kB / 1.511 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/1.079, allocations: 19.94 kB / 1.511 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/1.079, allocations: 43.92 kB / 1.511 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-05/1.08, allocations: 20.44 kB / 1.512 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.08, allocations: 19.94 kB / 1.512 GB, free: 5.324 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/1.082, allocations: 2.134 MB / 1.514 GB, free: 3.039 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/1.083, allocations: 363.9 kB / 1.514 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.083, allocations: 39.92 kB / 1.514 GB, free: 2.625 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.084, allocations: 55.91 kB / 1.514 GB, free: 2.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.085, allocations: 100.3 kB / 1.514 GB, free: 2.469 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/1.085, allocations: 51.98 kB / 1.514 GB, free: 2.418 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001138/1.086, allocations: 0.849 MB / 1.515 GB, free: 1.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.3e-07/1.086, allocations: 0 / 1.515 GB, free: 1.57 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001252/1.087, allocations: 432 kB / 1.515 GB, free: 1.148 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003629/1.091, allocations: 2.822 MB / 1.518 GB, free: 14.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.093, allocations: 1.243 MB / 1.519 GB, free: 12.94 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.093, allocations: 4 kB / 1.519 GB, free: 12.94 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/1.094, allocations: 0.5506 MB / 1.52 GB, free: 12.39 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/1.098, allocations: 0.9331 MB / 1.521 GB, free: 11.47 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.116, allocations: 12.72 MB / 1.533 GB, free: 14.05 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.117, allocations: 1.376 MB / 1.535 GB, free: 12.64 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001323/1.118, allocations: 389.3 kB / 1.535 GB, free: 12.26 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/1.119, allocations: 0.636 MB / 1.536 GB, free: 11.62 MB / 1.264 GB Notification: Performance of SimCode: time 4.51e-07/1.119, allocations: 0 / 1.536 GB, free: 11.62 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5913/1.711, allocations: 43.25 MB / 1.578 GB, free: 337.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/17.32, allocations: 5.422 kB / 1.578 GB, free: 337.6 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches