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.006724/0.006723, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001107/0.001107, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.535/2.535, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7961/1.061, allocations: 222.6 MB / 1.384 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01919/1.081, allocations: 12.11 MB / 1.395 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/1.083, allocations: 75.88 kB / 1.395 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/1.086, allocations: 0.8835 MB / 1.396 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007742/1.094, allocations: 2.969 MB / 1.399 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/1.098, allocations: 1.444 MB / 1.401 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005722/1.103, allocations: 4.472 MB / 1.405 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/1.106, allocations: 1.713 MB / 1.407 GB, free: 9.293 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/1.112, allocations: 2.563 MB / 1.409 GB, free: 7.707 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/1.115, allocations: 1.558 MB / 1.411 GB, free: 6.777 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/1.116, allocations: 178.9 kB / 1.411 GB, free: 6.777 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/1.12, allocations: 2.17 MB / 1.413 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007583/1.121, allocations: 0.7033 MB / 1.414 GB, free: 5.133 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/1.122, allocations: 1.049 MB / 1.415 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/1.128, allocations: 3.335 MB / 1.418 GB, free: 2.242 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.128, allocations: 0 / 1.418 GB, free: 2.242 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.006e-06/1.128, allocations: 4 kB / 1.418 GB, free: 2.238 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.949e-05/1.128, allocations: 3.938 kB / 1.418 GB, free: 2.234 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.003864/1.132, allocations: 2.338 MB / 1.42 GB, free: 480 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.132, allocations: 12.03 kB / 1.42 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/1.132, allocations: 206.8 kB / 1.42 GB, free: 252 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/1.135, allocations: 0.5075 MB / 1.421 GB, free: 15.73 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/1.138, allocations: 1.35 MB / 1.422 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/1.138, allocations: 114.8 kB / 1.422 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.138, allocations: 148 kB / 1.423 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.141, allocations: 1.764 MB / 1.424 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/1.141, allocations: 7.938 kB / 1.424 GB, free: 12.19 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/1.141, allocations: 60 kB / 1.424 GB, free: 12.13 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/1.141, allocations: 58.53 kB / 1.424 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/1.143, allocations: 1.399 MB / 1.426 GB, free: 10.66 MB / 1.092 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.008774/1.152, allocations: 7.298 MB / 1.433 GB, free: 2.992 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.154, allocations: 1.053 MB / 1.434 GB, free: 1.898 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009648/1.155, allocations: 0.6983 MB / 1.435 GB, free: 1.188 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/1.155, allocations: 114.2 kB / 1.435 GB, free: 1.059 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.155, allocations: 55.5 kB / 1.435 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/1.156, allocations: 310.9 kB / 1.435 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/1.156, allocations: 0 / 1.435 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.007964/1.164, allocations: 4.534 MB / 1.439 GB, free: 12.08 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/1.164, allocations: 175.2 kB / 1.44 GB, free: 11.88 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.166, allocations: 1.267 MB / 1.441 GB, free: 10.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/1.166, allocations: 53.7 kB / 1.441 GB, free: 10.54 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/1.166, allocations: 0.7098 MB / 1.442 GB, free: 9.824 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/1.167, allocations: 416.4 kB / 1.442 GB, free: 9.414 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/1.167, allocations: 271.6 kB / 1.442 GB, free: 9.141 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.167, allocations: 353.9 kB / 1.443 GB, free: 8.789 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008048/1.168, allocations: 0.5231 MB / 1.443 GB, free: 8.266 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.169, allocations: 0.8557 MB / 1.444 GB, free: 7.285 MB / 1.107 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.181, allocations: 4.806 MB / 1.449 GB, free: 2.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.181, allocations: 0 / 1.449 GB, free: 2.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002563/1.183, allocations: 1.62 MB / 1.45 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.183, allocations: 10.03 kB / 1.45 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.183, allocations: 12.84 kB / 1.45 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.183, allocations: 19.94 kB / 1.45 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.185, allocations: 287.6 kB / 1.451 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/1.185, allocations: 19.94 kB / 1.451 GB, free: 360 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.186, allocations: 67.78 kB / 1.451 GB, free: 296 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.186, allocations: 59.97 kB / 1.451 GB, free: 236 kB / 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.0007209/1.187, allocations: 421.3 kB / 1.451 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/1.187, allocations: 167 kB / 1.451 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/1.189, allocations: 1.291 MB / 1.453 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.189, allocations: 15.98 kB / 1.453 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.189, allocations: 4 kB / 1.453 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/1.191, allocations: 1.244 MB / 1.454 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/1.197, allocations: 3.758 MB / 1.457 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.197, allocations: 8 kB / 1.457 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.198, allocations: 248.5 kB / 1.458 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/1.198, allocations: 16 kB / 1.458 GB, free: 8.789 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/1.198, allocations: 43.94 kB / 1.458 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/1.198, allocations: 23.92 kB / 1.458 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/1.198, allocations: 11.94 kB / 1.458 GB, free: 8.711 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.201, allocations: 2.138 MB / 1.46 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/1.202, allocations: 363.9 kB / 1.46 GB, free: 6.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/1.202, allocations: 39.92 kB / 1.46 GB, free: 6.008 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.203, allocations: 46.39 kB / 1.46 GB, free: 5.965 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.203, allocations: 100.4 kB / 1.46 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/1.203, allocations: 63.8 kB / 1.46 GB, free: 5.805 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001075/1.204, allocations: 0.8568 MB / 1.461 GB, free: 4.949 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.204, allocations: 0 / 1.461 GB, free: 4.949 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001418/1.206, allocations: 435.9 kB / 1.462 GB, free: 4.523 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.003456/1.209, allocations: 2.812 MB / 1.464 GB, free: 1.562 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002112/1.211, allocations: 1.246 MB / 1.466 GB, free: 328 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.211, allocations: 4.625 kB / 1.466 GB, free: 324 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/1.212, allocations: 0.5439 MB / 1.466 GB, free: 15.77 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/1.216, allocations: 0.9323 MB / 1.467 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.233, allocations: 12.73 MB / 1.48 GB, free: 1.445 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/1.234, allocations: 1.38 MB / 1.481 GB, free: 32 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001341/1.235, allocations: 385.3 kB / 1.481 GB, free: 15.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009056/1.236, allocations: 0.6437 MB / 1.482 GB, free: 15 MB / 1.154 GB Notification: Performance of SimCode: time 8.81e-07/1.236, allocations: 0 / 1.482 GB, free: 15 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0778/1.314, allocations: 43.27 MB / 1.524 GB, free: 4.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.98, allocations: 448 / 1.524 GB, free: 4.34 MB / 1.186 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