Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_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.00519/0.00519, allocations: 101.2 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.001084/0.001084, allocations: 194.4 kB / 16.67 MB, free: 5.984 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.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.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 58.94 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.765/1.011, allocations: 222.6 MB / 1.305 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01613/1.028, allocations: 12.12 MB / 1.317 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/1.031, allocations: 72.91 kB / 1.317 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/1.033, allocations: 0.861 MB / 1.318 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007873/1.041, allocations: 2.861 MB / 1.32 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/1.045, allocations: 1.441 MB / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006851/1.052, allocations: 4.458 MB / 1.326 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/1.054, allocations: 1.716 MB / 1.328 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/1.06, allocations: 2.47 MB / 1.33 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.064, allocations: 1.559 MB / 1.332 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/1.064, allocations: 178.9 kB / 1.332 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/1.069, allocations: 2.163 MB / 1.334 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007801/1.069, allocations: 0.7022 MB / 1.335 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/1.071, allocations: 1.047 MB / 1.336 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00574/1.077, allocations: 3.328 MB / 1.339 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.077, allocations: 0.7812 kB / 1.339 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.585e-06/1.077, allocations: 2.688 kB / 1.339 GB, free: 1.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.029e-05/1.077, allocations: 3.531 kB / 1.339 GB, free: 1.148 MB / 1.014 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.003671/1.08, allocations: 2.288 MB / 1.341 GB, free: 64 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.08, allocations: 7.594 kB / 1.341 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/1.081, allocations: 206.2 kB / 1.341 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/1.084, allocations: 0.4987 MB / 1.342 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.086, allocations: 1.337 MB / 1.343 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/1.086, allocations: 111 kB / 1.343 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/1.086, allocations: 150 kB / 1.344 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/1.089, allocations: 1.761 MB / 1.345 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/1.089, allocations: 5.562 kB / 1.345 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/1.089, allocations: 60.47 kB / 1.345 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/1.089, allocations: 57.56 kB / 1.345 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/1.091, allocations: 1.399 MB / 1.347 GB, free: 13.85 MB / 1.029 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.009008/1.1, allocations: 7.28 MB / 1.354 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.102, allocations: 1.05 MB / 1.355 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000923/1.103, allocations: 0.6951 MB / 1.356 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.103, allocations: 115.1 kB / 1.356 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.103, allocations: 61.22 kB / 1.356 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001288/1.104, allocations: 317 kB / 1.356 GB, free: 7.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.727e-06/1.104, allocations: 0 / 1.356 GB, free: 7.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.008196/1.113, allocations: 4.434 MB / 1.36 GB, free: 5.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.113, allocations: 172.2 kB / 1.36 GB, free: 5.078 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.114, allocations: 1.265 MB / 1.362 GB, free: 4.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/1.114, allocations: 54.2 kB / 1.362 GB, free: 4.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/1.115, allocations: 0.7025 MB / 1.362 GB, free: 3.992 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/1.115, allocations: 401.1 kB / 1.363 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/1.116, allocations: 263 kB / 1.363 GB, free: 3.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.116, allocations: 355.5 kB / 1.363 GB, free: 3.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/1.117, allocations: 0.5235 MB / 1.364 GB, free: 3.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.118, allocations: 0.8523 MB / 1.365 GB, free: 2.492 MB / 1.029 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.01145/1.129, allocations: 4.805 MB / 1.369 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.129, allocations: 2.438 kB / 1.369 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003146/1.133, allocations: 1.64 MB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.133, allocations: 10.38 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.133, allocations: 7.375 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/1.133, allocations: 16.31 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.134, allocations: 290.1 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.855e-05/1.134, allocations: 22.75 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.136, allocations: 46.06 kB / 1.371 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.136, allocations: 64.89 kB / 1.372 GB, free: 15.93 MB / 1.045 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.0009378/1.137, allocations: 438.2 kB / 1.372 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/1.137, allocations: 164.1 kB / 1.372 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/1.139, allocations: 1.289 MB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.139, allocations: 13.81 kB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.139, allocations: 1.812 kB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/1.141, allocations: 1.242 MB / 1.375 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/1.147, allocations: 3.772 MB / 1.378 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.147, allocations: 7.938 kB / 1.378 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.148, allocations: 245 kB / 1.379 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-05/1.148, allocations: 16.47 kB / 1.379 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/1.148, allocations: 38.61 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/1.148, allocations: 22.41 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.148, allocations: 22.09 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/1.151, allocations: 2.122 MB / 1.381 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/1.152, allocations: 356.4 kB / 1.381 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/1.153, allocations: 45.77 kB / 1.381 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.154, allocations: 46.66 kB / 1.381 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.154, allocations: 106.4 kB / 1.381 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.154, allocations: 52.45 kB / 1.381 GB, free: 10.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001382/1.156, allocations: 0.85 MB / 1.382 GB, free: 9.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.156, allocations: 0 / 1.382 GB, free: 9.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00165/1.158, allocations: 432.8 kB / 1.382 GB, free: 9.633 MB / 1.045 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.003856/1.161, allocations: 2.801 MB / 1.385 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002147/1.164, allocations: 1.244 MB / 1.386 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.164, allocations: 2.75 kB / 1.386 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/1.164, allocations: 0.5534 MB / 1.387 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/1.169, allocations: 0.9285 MB / 1.388 GB, free: 6.414 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.19, allocations: 12.66 MB / 1.4 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.191, allocations: 1.376 MB / 1.402 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001533/1.193, allocations: 377.3 kB / 1.402 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009591/1.194, allocations: 0.6476 MB / 1.403 GB, free: 8.832 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/1.194, allocations: 0 / 1.403 GB, free: 8.832 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07511/1.269, allocations: 43.25 MB / 1.445 GB, free: 14.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.38, allocations: 11.58 kB / 1.445 GB, free: 14.15 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches