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.005563/0.005563, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001355/0.001355, allocations: 192.8 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.7018, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2414/0.9433, allocations: 222.6 MB / 1.305 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.9598, allocations: 12.12 MB / 1.317 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.9617, allocations: 75.56 kB / 1.317 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.9637, allocations: 0.885 MB / 1.318 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.9702, allocations: 2.974 MB / 1.321 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.9736, allocations: 1.436 MB / 1.322 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005028/0.9787, allocations: 4.467 MB / 1.326 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.9807, allocations: 1.717 MB / 1.328 GB, free: 7.211 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.9856, allocations: 2.562 MB / 1.331 GB, free: 4.645 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.9881, allocations: 1.542 MB / 1.332 GB, free: 3.113 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.9884, allocations: 180 kB / 1.332 GB, free: 2.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.9924, allocations: 2.186 MB / 1.334 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006835/0.9931, allocations: 0.7012 MB / 1.335 GB, free: 44 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.9943, allocations: 1.05 MB / 1.336 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004502/0.9988, allocations: 3.332 MB / 1.339 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.9988, allocations: 3.938 kB / 1.339 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9988, allocations: 0 / 1.339 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.9988, allocations: 0 / 1.339 GB, free: 11.64 MB / 1.076 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.003881/1.003, allocations: 2.34 MB / 1.342 GB, free: 9.242 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.003, allocations: 12.02 kB / 1.342 GB, free: 9.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003044/1.003, allocations: 210.8 kB / 1.342 GB, free: 9.016 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.006, allocations: 0.51 MB / 1.342 GB, free: 8.504 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/1.009, allocations: 1.342 MB / 1.344 GB, free: 7.105 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/1.009, allocations: 110.8 kB / 1.344 GB, free: 6.996 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/1.009, allocations: 148 kB / 1.344 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/1.012, allocations: 1.763 MB / 1.346 GB, free: 4.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/1.012, allocations: 7.938 kB / 1.346 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.012, allocations: 60 kB / 1.346 GB, free: 4.914 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/1.012, allocations: 54.55 kB / 1.346 GB, free: 4.859 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/1.014, allocations: 1.395 MB / 1.347 GB, free: 3.457 MB / 1.076 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.008547/1.023, allocations: 7.321 MB / 1.354 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.024, allocations: 1.055 MB / 1.355 GB, free: 10.66 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/1.025, allocations: 0.6906 MB / 1.356 GB, free: 9.949 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/1.025, allocations: 110.1 kB / 1.356 GB, free: 9.824 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.026, allocations: 51.5 kB / 1.356 GB, free: 9.762 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001098/1.027, allocations: 315.1 kB / 1.356 GB, free: 9.453 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 3.135e-06/1.027, allocations: 0 / 1.356 GB, free: 9.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.008075/1.035, allocations: 4.526 MB / 1.361 GB, free: 4.859 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/1.035, allocations: 179.3 kB / 1.361 GB, free: 4.648 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.036, allocations: 1.263 MB / 1.362 GB, free: 3.375 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.037, allocations: 57.64 kB / 1.362 GB, free: 3.312 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/1.037, allocations: 0.7098 MB / 1.363 GB, free: 2.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/1.037, allocations: 424.4 kB / 1.363 GB, free: 2.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/1.038, allocations: 259.5 kB / 1.364 GB, free: 1.922 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.038, allocations: 353.9 kB / 1.364 GB, free: 1.57 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/1.039, allocations: 0.527 MB / 1.364 GB, free: 1.043 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.04, allocations: 0.8596 MB / 1.365 GB, free: 60 kB / 1.092 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.01157/1.051, allocations: 4.803 MB / 1.37 GB, free: 11.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.051, allocations: 0 / 1.37 GB, free: 11.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002672/1.054, allocations: 1.625 MB / 1.372 GB, free: 9.457 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.054, allocations: 11.98 kB / 1.372 GB, free: 9.445 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.054, allocations: 8 kB / 1.372 GB, free: 9.438 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.054, allocations: 16 kB / 1.372 GB, free: 9.422 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.055, allocations: 283.5 kB / 1.372 GB, free: 9.145 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/1.055, allocations: 27.86 kB / 1.372 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.057, allocations: 53.08 kB / 1.372 GB, free: 9.066 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.057, allocations: 63.92 kB / 1.372 GB, free: 9.004 MB / 1.107 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.0006978/1.058, allocations: 430.7 kB / 1.372 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/1.058, allocations: 170.9 kB / 1.373 GB, free: 8.406 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.06, allocations: 1.291 MB / 1.374 GB, free: 7.102 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.06, allocations: 12 kB / 1.374 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.06, allocations: 7.938 kB / 1.374 GB, free: 7.082 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/1.062, allocations: 1.237 MB / 1.375 GB, free: 5.773 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/1.068, allocations: 3.77 MB / 1.379 GB, free: 1.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.068, allocations: 11.98 kB / 1.379 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.069, allocations: 247.7 kB / 1.379 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.069, allocations: 19.94 kB / 1.379 GB, free: 1.531 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.175e-05/1.069, allocations: 39.94 kB / 1.379 GB, free: 1.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/1.069, allocations: 27.86 kB / 1.379 GB, free: 1.465 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.069, allocations: 15.94 kB / 1.379 GB, free: 1.449 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.072, allocations: 2.13 MB / 1.381 GB, free: 15.17 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/1.073, allocations: 363.9 kB / 1.382 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/1.073, allocations: 39.94 kB / 1.382 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.074, allocations: 55.86 kB / 1.382 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.075, allocations: 100.3 kB / 1.382 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/1.075, allocations: 47.98 kB / 1.382 GB, free: 14.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001155/1.076, allocations: 0.8529 MB / 1.383 GB, free: 13.7 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.076, allocations: 0 / 1.383 GB, free: 13.7 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001378/1.077, allocations: 436 kB / 1.383 GB, free: 13.28 MB / 1.123 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.003438/1.081, allocations: 2.812 MB / 1.386 GB, free: 10.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.083, allocations: 1.242 MB / 1.387 GB, free: 9.082 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.083, allocations: 4 kB / 1.387 GB, free: 9.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/1.084, allocations: 0.5487 MB / 1.387 GB, free: 8.527 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.088, allocations: 0.936 MB / 1.388 GB, free: 7.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.106, allocations: 12.73 MB / 1.401 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.107, allocations: 1.372 MB / 1.402 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00139/1.109, allocations: 389.2 kB / 1.403 GB, free: 8.406 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/1.11, allocations: 0.6438 MB / 1.403 GB, free: 7.762 MB / 1.139 GB Notification: Performance of SimCode: time 9.12e-07/1.11, allocations: 0 / 1.403 GB, free: 7.762 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07235/1.182, allocations: 43.23 MB / 1.445 GB, free: 13.13 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.6, allocations: 16.36 kB / 1.445 GB, free: 13.12 MB / 1.186 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