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.001324/0.001324, allocations: 108 kB / 15.6 MB, free: 132 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.001401/0.001401, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.352/2.352, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5408, allocations: 140.3 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2145/0.7553, allocations: 222.6 MB / 1.167 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.7722, allocations: 12.11 MB / 1.179 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.7742, allocations: 75.56 kB / 1.179 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.7765, allocations: 0.8538 MB / 1.18 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.7834, allocations: 2.874 MB / 1.183 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.7869, allocations: 1.42 MB / 1.184 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005274/0.7922, allocations: 4.454 MB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.7948, allocations: 1.702 MB / 1.19 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/0.8002, allocations: 2.469 MB / 1.192 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.803, allocations: 1.559 MB / 1.194 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.8035, allocations: 180 kB / 1.194 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.8078, allocations: 2.155 MB / 1.196 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008464/0.8087, allocations: 0.7129 MB / 1.197 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.8102, allocations: 1.05 MB / 1.198 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004486/0.8147, allocations: 3.272 MB / 1.201 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8147, allocations: 0 / 1.201 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8147, allocations: 0 / 1.201 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.21e-05/0.8148, allocations: 0 / 1.201 GB, free: 15.39 MB / 0.9669 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.003942/0.8187, allocations: 2.276 MB / 1.203 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8188, allocations: 12.03 kB / 1.203 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.8191, allocations: 202.8 kB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.8222, allocations: 0.4972 MB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.8242, allocations: 1.263 MB / 1.205 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.8243, allocations: 106.8 kB / 1.205 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.8245, allocations: 148 kB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.827, allocations: 1.76 MB / 1.207 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.8271, allocations: 3.984 kB / 1.207 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.8272, allocations: 60 kB / 1.207 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.8273, allocations: 58.48 kB / 1.207 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.8295, allocations: 1.395 MB / 1.209 GB, free: 7.379 MB / 0.9669 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.008115/0.8377, allocations: 7.351 MB / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.8392, allocations: 1.043 MB / 1.217 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/0.8402, allocations: 0.6983 MB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.8404, allocations: 110.2 kB / 1.218 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8404, allocations: 51.56 kB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/0.8415, allocations: 310.6 kB / 1.218 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 4.329e-06/0.8415, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.007793/0.8493, allocations: 4.442 MB / 1.222 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.8494, allocations: 167.2 kB / 1.223 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.8508, allocations: 1.267 MB / 1.224 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/0.8509, allocations: 53.7 kB / 1.224 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.8514, allocations: 0.6968 MB / 1.225 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.8517, allocations: 402.2 kB / 1.225 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.8521, allocations: 263.4 kB / 1.225 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8522, allocations: 353.9 kB / 1.226 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.8531, allocations: 0.5309 MB / 1.226 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.8542, allocations: 0.8592 MB / 1.227 GB, free: 4.07 MB / 0.9825 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.01191/0.8661, allocations: 4.812 MB / 1.232 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8661, allocations: 7.938 kB / 1.232 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002799/0.869, allocations: 1.616 MB / 1.233 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.869, allocations: 8 kB / 1.233 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.869, allocations: 12 kB / 1.233 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.8691, allocations: 16 kB / 1.233 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.8703, allocations: 291.5 kB / 1.233 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.2e-05/0.8703, allocations: 27.86 kB / 1.233 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.8721, allocations: 45.73 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8723, allocations: 59.98 kB / 1.234 GB, free: 13.02 MB / 0.9981 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.0009296/0.8732, allocations: 434.6 kB / 1.234 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.8737, allocations: 162 kB / 1.234 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.876, allocations: 1.291 MB / 1.235 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.876, allocations: 12 kB / 1.235 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.876, allocations: 7.938 kB / 1.235 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/0.8776, allocations: 1.237 MB / 1.237 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/0.8834, allocations: 3.769 MB / 1.24 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.8834, allocations: 8 kB / 1.24 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.8846, allocations: 243.6 kB / 1.241 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.8846, allocations: 19.94 kB / 1.241 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.8847, allocations: 39.98 kB / 1.241 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.8847, allocations: 24.38 kB / 1.241 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.8847, allocations: 19.92 kB / 1.241 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.8874, allocations: 2.121 MB / 1.243 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.8881, allocations: 355 kB / 1.243 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.8883, allocations: 39.92 kB / 1.243 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8895, allocations: 50.62 kB / 1.243 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.8896, allocations: 100.3 kB / 1.243 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.8897, allocations: 51.98 kB / 1.243 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00108/0.8908, allocations: 0.849 MB / 1.244 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8908, allocations: 0 / 1.244 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001293/0.8921, allocations: 436 kB / 1.245 GB, free: 1.328 MB / 0.9981 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.4053/1.297, allocations: 2.798 MB / 1.247 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00262/1.3, allocations: 1.425 MB / 1.249 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.3, allocations: 6.219 kB / 1.249 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/1.301, allocations: 0.552 MB / 1.249 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/1.305, allocations: 0.9378 MB / 1.25 GB, free: 283 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.322, allocations: 13.76 MB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/1.323, allocations: 1.373 MB / 1.265 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001707/1.325, allocations: 389.1 kB / 1.265 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/1.326, allocations: 0.6362 MB / 1.266 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.326, allocations: 0 / 1.266 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/1.392, allocations: 42.94 MB / 1.308 GB, free: 242 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/9.912, allocations: 7.438 kB / 1.308 GB, free: 242 MB / 0.9981 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