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.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.622/2.622, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5509, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2153/0.7663, allocations: 222.6 MB / 1.235 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.7831, allocations: 12.12 MB / 1.247 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.7852, allocations: 79.5 kB / 1.247 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.7874, allocations: 0.8577 MB / 1.248 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006526/0.7939, allocations: 2.862 MB / 1.25 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.7974, allocations: 1.418 MB / 1.252 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5135/1.311, allocations: 4.44 MB / 1.256 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/1.314, allocations: 1.713 MB / 1.258 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/1.32, allocations: 2.456 MB / 1.26 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/1.323, allocations: 1.555 MB / 1.262 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004494/1.324, allocations: 179.8 kB / 1.262 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005005/1.329, allocations: 2.164 MB / 1.264 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/1.33, allocations: 0.7051 MB / 1.265 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001855/1.332, allocations: 1.049 MB / 1.266 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/1.337, allocations: 3.272 MB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.337, allocations: 0.9375 kB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/1.337, allocations: 0 / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.617e-05/1.337, allocations: 1.125 kB / 1.269 GB, free: 4.723 MB / 0.9981 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.004054/1.341, allocations: 2.28 MB / 1.271 GB, free: 19.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.341, allocations: 13.91 kB / 1.271 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/1.341, allocations: 206.7 kB / 1.271 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/1.345, allocations: 0.5012 MB / 1.272 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/1.346, allocations: 1.25 MB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/1.347, allocations: 111.7 kB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.347, allocations: 146.9 kB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/1.349, allocations: 1.765 MB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/1.349, allocations: 9.391 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.35, allocations: 62.91 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/1.35, allocations: 54.05 kB / 1.275 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.352, allocations: 1.402 MB / 1.276 GB, free: 18.75 MB / 1.014 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.007653/1.359, allocations: 7.339 MB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/1.361, allocations: 1.049 MB / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/1.362, allocations: 0.6919 MB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/1.362, allocations: 114.3 kB / 1.285 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.362, allocations: 54.67 kB / 1.285 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001044/1.363, allocations: 308.5 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.905e-06/1.363, allocations: 0 / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.006919/1.37, allocations: 4.445 MB / 1.29 GB, free: 13.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/1.37, allocations: 170.1 kB / 1.29 GB, free: 12.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.371, allocations: 1.268 MB / 1.292 GB, free: 12.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/1.371, allocations: 51.92 kB / 1.292 GB, free: 12.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.372, allocations: 0.692 MB / 1.292 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.372, allocations: 406.7 kB / 1.293 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/1.372, allocations: 263.6 kB / 1.293 GB, free: 12.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.372, allocations: 357.6 kB / 1.293 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/1.373, allocations: 0.5309 MB / 1.294 GB, free: 11.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008451/1.374, allocations: 0.854 MB / 1.295 GB, free: 11.54 MB / 1.014 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.0104/1.384, allocations: 4.803 MB / 1.299 GB, free: 10.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.384, allocations: 2.781 kB / 1.299 GB, free: 10.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002279/1.387, allocations: 1.617 MB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.387, allocations: 10.12 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.387, allocations: 9.375 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.387, allocations: 13.73 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.388, allocations: 296.1 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.388, allocations: 16.44 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.389, allocations: 54.55 kB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/1.389, allocations: 60.45 kB / 1.301 GB, free: 10.76 MB / 1.014 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.0007177/1.39, allocations: 424.3 kB / 1.302 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/1.39, allocations: 171 kB / 1.302 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/1.392, allocations: 1.287 MB / 1.303 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.392, allocations: 14.72 kB / 1.303 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.392, allocations: 6.719 kB / 1.303 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/1.394, allocations: 1.24 MB / 1.304 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/1.399, allocations: 3.764 MB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.399, allocations: 10.16 kB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.4, allocations: 248.9 kB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/1.4, allocations: 12.88 kB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/1.4, allocations: 37.97 kB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/1.4, allocations: 21.8 kB / 1.308 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.4, allocations: 21.73 kB / 1.308 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/1.403, allocations: 2.129 MB / 1.31 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/1.403, allocations: 361.9 kB / 1.311 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.404, allocations: 38.31 kB / 1.311 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.405, allocations: 52.8 kB / 1.311 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.405, allocations: 98.12 kB / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/1.405, allocations: 53.47 kB / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001135/1.406, allocations: 0.8508 MB / 1.312 GB, free: 8.195 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.406, allocations: 0 / 1.312 GB, free: 8.195 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00145/1.407, allocations: 441.4 kB / 1.312 GB, free: 8.191 MB / 1.014 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.002995/1.41, allocations: 2.794 MB / 1.315 GB, free: 7.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002315/1.413, allocations: 1.432 MB / 1.316 GB, free: 6.996 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.413, allocations: 5.812 kB / 1.316 GB, free: 6.996 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/1.413, allocations: 0.5463 MB / 1.317 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.418, allocations: 0.9344 MB / 1.318 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.434, allocations: 13.76 MB / 1.331 GB, free: 1.121 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/1.435, allocations: 1.37 MB / 1.333 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001685/1.437, allocations: 390.6 kB / 1.333 GB, free: 308 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/1.437, allocations: 0.6396 MB / 1.334 GB, free: 300 kB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.437, allocations: 0 / 1.334 GB, free: 300 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/1.511, allocations: 42.95 MB / 1.376 GB, free: 5.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.747, allocations: 15.98 kB / 1.376 GB, free: 5.398 MB / 1.045 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