Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_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.007978/0.007978, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001789/0.001789, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.412/2.412, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8007, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2332/1.034, allocations: 222.6 MB / 1.384 GB, free: 4.309 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01682/1.051, allocations: 12.12 MB / 1.395 GB, free: 8.164 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/1.053, allocations: 71.62 kB / 1.395 GB, free: 8.094 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/1.055, allocations: 0.8615 MB / 1.396 GB, free: 7.227 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/1.062, allocations: 2.856 MB / 1.399 GB, free: 4.359 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/1.066, allocations: 1.442 MB / 1.401 GB, free: 2.922 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00567/1.072, allocations: 4.469 MB / 1.405 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/1.074, allocations: 1.705 MB / 1.407 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/1.08, allocations: 2.469 MB / 1.409 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/1.083, allocations: 1.55 MB / 1.41 GB, free: 8.684 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006048/1.083, allocations: 180 kB / 1.411 GB, free: 8.508 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004824/1.088, allocations: 2.163 MB / 1.413 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/1.089, allocations: 0.7128 MB / 1.413 GB, free: 5.625 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/1.091, allocations: 1.042 MB / 1.414 GB, free: 4.578 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0069/1.098, allocations: 3.33 MB / 1.418 GB, free: 1.238 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.098, allocations: 3.984 kB / 1.418 GB, free: 1.234 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.573e-06/1.098, allocations: 0 / 1.418 GB, free: 1.234 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.739e-05/1.098, allocations: 0 / 1.418 GB, free: 1.234 MB / 1.139 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.005413/1.104, allocations: 2.28 MB / 1.42 GB, free: 14.9 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.104, allocations: 8.922 kB / 1.42 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005363/1.104, allocations: 206.8 kB / 1.42 GB, free: 14.68 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/1.108, allocations: 0.5011 MB / 1.421 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/1.111, allocations: 1.345 MB / 1.422 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.111, allocations: 110.8 kB / 1.422 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/1.111, allocations: 151.9 kB / 1.422 GB, free: 12.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/1.114, allocations: 1.764 MB / 1.424 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.114, allocations: 0 / 1.424 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/1.114, allocations: 60 kB / 1.424 GB, free: 10.58 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/1.114, allocations: 54.53 kB / 1.424 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/1.117, allocations: 1.399 MB / 1.425 GB, free: 9.121 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.008952/1.126, allocations: 7.298 MB / 1.433 GB, free: 1.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.127, allocations: 1.044 MB / 1.434 GB, free: 368 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/1.128, allocations: 0.6985 MB / 1.434 GB, free: 15.65 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/1.129, allocations: 125.9 kB / 1.434 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.129, allocations: 47.56 kB / 1.434 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001072/1.13, allocations: 302.6 kB / 1.435 GB, free: 15.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 6.362e-06/1.13, allocations: 0 / 1.435 GB, free: 15.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.008094/1.138, allocations: 4.439 MB / 1.439 GB, free: 10.64 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/1.138, allocations: 175.3 kB / 1.439 GB, free: 10.43 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.139, allocations: 1.259 MB / 1.44 GB, free: 9.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.14, allocations: 49.7 kB / 1.44 GB, free: 9.105 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/1.14, allocations: 0.7046 MB / 1.441 GB, free: 8.395 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.14, allocations: 394.2 kB / 1.442 GB, free: 8.004 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/1.141, allocations: 263.4 kB / 1.442 GB, free: 7.738 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.141, allocations: 361.9 kB / 1.442 GB, free: 7.379 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/1.142, allocations: 0.5231 MB / 1.443 GB, free: 6.855 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.143, allocations: 0.8518 MB / 1.443 GB, free: 5.879 MB / 1.17 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.01181/1.155, allocations: 4.802 MB / 1.448 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.155, allocations: 0 / 1.448 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002866/1.158, allocations: 1.624 MB / 1.45 GB, free: 15.28 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.158, allocations: 8 kB / 1.45 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.158, allocations: 8 kB / 1.45 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.158, allocations: 16 kB / 1.45 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.159, allocations: 291.5 kB / 1.45 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.267e-05/1.159, allocations: 23.88 kB / 1.45 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.16, allocations: 52.11 kB / 1.45 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.161, allocations: 67.97 kB / 1.45 GB, free: 14.82 MB / 1.186 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.0007745/1.161, allocations: 423.6 kB / 1.451 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/1.162, allocations: 158.1 kB / 1.451 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/1.164, allocations: 1.295 MB / 1.452 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.164, allocations: 12 kB / 1.452 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.164, allocations: 11.94 kB / 1.452 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/1.166, allocations: 1.244 MB / 1.453 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006758/1.172, allocations: 3.766 MB / 1.457 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.172, allocations: 8 kB / 1.457 GB, free: 7.633 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.173, allocations: 247.6 kB / 1.457 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.017e-05/1.173, allocations: 15.94 kB / 1.457 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/1.174, allocations: 39.98 kB / 1.457 GB, free: 7.336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.009e-05/1.174, allocations: 23.92 kB / 1.457 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.174, allocations: 15.94 kB / 1.457 GB, free: 7.297 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/1.177, allocations: 2.117 MB / 1.459 GB, free: 5.027 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/1.177, allocations: 359 kB / 1.46 GB, free: 4.656 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.178, allocations: 47.92 kB / 1.46 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.179, allocations: 43.89 kB / 1.46 GB, free: 4.566 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.179, allocations: 104.3 kB / 1.46 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/1.179, allocations: 47.98 kB / 1.46 GB, free: 4.418 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001248/1.181, allocations: 0.849 MB / 1.461 GB, free: 3.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.01e-07/1.181, allocations: 4 kB / 1.461 GB, free: 3.566 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001464/1.182, allocations: 436 kB / 1.461 GB, free: 3.141 MB / 1.186 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.003436/1.185, allocations: 2.811 MB / 1.464 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002234/1.188, allocations: 1.246 MB / 1.465 GB, free: 14.94 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/1.188, allocations: 7.938 kB / 1.465 GB, free: 14.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/1.189, allocations: 0.5525 MB / 1.466 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/1.193, allocations: 0.9275 MB / 1.467 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.214, allocations: 12.66 MB / 1.479 GB, free: 124 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.215, allocations: 1.38 MB / 1.48 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001612/1.217, allocations: 377.3 kB / 1.481 GB, free: 14.33 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.218, allocations: 0.6438 MB / 1.481 GB, free: 13.69 MB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/1.218, allocations: 0 / 1.481 GB, free: 13.69 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08166/1.299, allocations: 43.26 MB / 1.524 GB, free: 2.934 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.66, allocations: 8.156 kB / 1.524 GB, free: 2.926 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches