Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.007532/0.007532, allocations: 101.7 kB / 15.73 MB, free: 6.445 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.002009/0.002009, allocations: 193 kB / 16.67 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.89 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 162.2 MB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7838/1.074, allocations: 222.7 MB / 1.459 GB, free: 8.848 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.093, allocations: 12.13 MB / 1.471 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/1.096, allocations: 75.56 kB / 1.471 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/1.098, allocations: 0.8616 MB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007563/1.106, allocations: 2.858 MB / 1.475 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/1.109, allocations: 1.433 MB / 1.476 GB, free: 7.445 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006514/1.116, allocations: 4.444 MB / 1.48 GB, free: 2.996 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/1.119, allocations: 1.727 MB / 1.482 GB, free: 1.234 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/1.125, allocations: 2.707 MB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/1.128, allocations: 1.539 MB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/1.129, allocations: 180 kB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/1.133, allocations: 2.148 MB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008194/1.134, allocations: 0.7051 MB / 1.489 GB, free: 9.969 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/1.135, allocations: 1.054 MB / 1.49 GB, free: 8.91 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005898/1.141, allocations: 3.34 MB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.141, allocations: 0 / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.472e-06/1.141, allocations: 0 / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.087e-05/1.141, allocations: 0 / 1.493 GB, free: 5.559 MB / 1.186 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.004226/1.146, allocations: 2.344 MB / 1.496 GB, free: 3.156 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.146, allocations: 12.03 kB / 1.496 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/1.146, allocations: 206.8 kB / 1.496 GB, free: 2.934 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/1.149, allocations: 0.5061 MB / 1.496 GB, free: 2.426 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/1.152, allocations: 1.354 MB / 1.498 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/1.152, allocations: 106.8 kB / 1.498 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.152, allocations: 152 kB / 1.498 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/1.155, allocations: 1.76 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.155, allocations: 7.938 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.155, allocations: 63.91 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/1.155, allocations: 54.53 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/1.158, allocations: 1.399 MB / 1.501 GB, free: 13.36 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.009876/1.168, allocations: 7.533 MB / 1.508 GB, free: 5.395 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/1.17, allocations: 1.051 MB / 1.51 GB, free: 4.305 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/1.171, allocations: 0.6906 MB / 1.51 GB, free: 3.598 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/1.171, allocations: 118.2 kB / 1.51 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.171, allocations: 55.48 kB / 1.51 GB, free: 3.398 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001126/1.172, allocations: 306.9 kB / 1.511 GB, free: 3.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 3.517e-06/1.173, allocations: 0 / 1.511 GB, free: 3.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.008719/1.181, allocations: 4.532 MB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.181, allocations: 175.3 kB / 1.515 GB, free: 14.29 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.183, allocations: 1.263 MB / 1.516 GB, free: 13.02 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/1.183, allocations: 57.64 kB / 1.517 GB, free: 12.96 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/1.184, allocations: 0.7175 MB / 1.517 GB, free: 12.23 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/1.184, allocations: 416.4 kB / 1.518 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/1.185, allocations: 263.5 kB / 1.518 GB, free: 11.56 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.185, allocations: 357.9 kB / 1.518 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009313/1.186, allocations: 0.527 MB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/1.187, allocations: 0.8557 MB / 1.52 GB, free: 9.695 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.01249/1.2, allocations: 4.796 MB / 1.524 GB, free: 4.738 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.2, allocations: 4 kB / 1.524 GB, free: 4.734 MB / 1.217 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002868/1.202, allocations: 1.62 MB / 1.526 GB, free: 3.105 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.202, allocations: 8 kB / 1.526 GB, free: 3.098 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.202, allocations: 8 kB / 1.526 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.202, allocations: 16 kB / 1.526 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.204, allocations: 287.5 kB / 1.526 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/1.204, allocations: 29.62 kB / 1.526 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.205, allocations: 64.2 kB / 1.526 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.205, allocations: 59.97 kB / 1.526 GB, free: 2.648 MB / 1.217 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.000738/1.206, allocations: 421.3 kB / 1.527 GB, free: 2.227 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/1.206, allocations: 167 kB / 1.527 GB, free: 2.062 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.209, allocations: 1.295 MB / 1.528 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.209, allocations: 12 kB / 1.528 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.209, allocations: 3.938 kB / 1.528 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/1.211, allocations: 1.248 MB / 1.529 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/1.217, allocations: 3.762 MB / 1.533 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.217, allocations: 12 kB / 1.533 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.218, allocations: 243.7 kB / 1.533 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/1.218, allocations: 15.94 kB / 1.533 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/1.218, allocations: 36.94 kB / 1.533 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-05/1.218, allocations: 28.33 kB / 1.533 GB, free: 11.13 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/1.218, allocations: 15.94 kB / 1.533 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/1.221, allocations: 2.134 MB / 1.535 GB, free: 8.836 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/1.222, allocations: 367.9 kB / 1.536 GB, free: 8.457 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/1.222, allocations: 39.94 kB / 1.536 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.223, allocations: 47.11 kB / 1.536 GB, free: 8.375 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.223, allocations: 105 kB / 1.536 GB, free: 8.273 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.224, allocations: 51.97 kB / 1.536 GB, free: 8.223 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001217/1.225, allocations: 0.8568 MB / 1.537 GB, free: 7.367 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/1.225, allocations: 0 / 1.537 GB, free: 7.367 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001327/1.226, allocations: 435.9 kB / 1.537 GB, free: 6.941 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.003862/1.23, allocations: 2.822 MB / 1.54 GB, free: 3.965 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00245/1.232, allocations: 1.247 MB / 1.541 GB, free: 2.715 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.232, allocations: 3.938 kB / 1.541 GB, free: 2.711 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009081/1.233, allocations: 0.5468 MB / 1.542 GB, free: 2.168 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/1.238, allocations: 0.9302 MB / 1.543 GB, free: 1.258 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.263, allocations: 12.73 MB / 1.555 GB, free: 3.852 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.265, allocations: 1.372 MB / 1.556 GB, free: 2.449 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002189/1.267, allocations: 393.3 kB / 1.557 GB, free: 2.059 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.268, allocations: 0.644 MB / 1.557 GB, free: 1.414 MB / 1.248 GB Notification: Performance of SimCode: time 3.416e-06/1.269, allocations: 0 / 1.557 GB, free: 1.414 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08984/1.358, allocations: 43.25 MB / 1.6 GB, free: 6.719 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.94, allocations: 14.19 kB / 1.6 GB, free: 6.707 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches