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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001283/0.001283, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5255, allocations: 140.4 MB / 0.949 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2052/0.7307, allocations: 220.3 MB / 1.164 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.7456, allocations: 12.2 MB / 1.176 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.747, allocations: 67.56 kB / 1.176 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.7487, allocations: 0.7186 MB / 1.177 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.7538, allocations: 2.7 MB / 1.18 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.7563, allocations: 1.284 MB / 1.181 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004993/0.7613, allocations: 6.096 MB / 1.187 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.7629, allocations: 1.482 MB / 1.188 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.7672, allocations: 2.208 MB / 1.19 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.7702, allocations: 1.602 MB / 1.192 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.7705, allocations: 104 kB / 1.192 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.7746, allocations: 2.474 MB / 1.194 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.7752, allocations: 0.6347 MB / 1.195 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.7762, allocations: 0.9639 MB / 1.196 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.7796, allocations: 3.338 MB / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7796, allocations: 0 / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.22e-07/0.7796, allocations: 0 / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.7797, allocations: 0 / 1.199 GB, free: 1.008 MB / 0.9512 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.00344/0.7831, allocations: 2.284 MB / 1.201 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7831, allocations: 8.031 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.7834, allocations: 206.8 kB / 1.202 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.7863, allocations: 0.4933 MB / 1.202 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.788, allocations: 1.263 MB / 1.203 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.7881, allocations: 110.8 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.7883, allocations: 144 kB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.7907, allocations: 1.762 MB / 1.205 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.7908, allocations: 7.938 kB / 1.205 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.7909, allocations: 60 kB / 1.205 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.791, allocations: 54.53 kB / 1.205 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.793, allocations: 1.403 MB / 1.207 GB, free: 8.98 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.007232/0.8002, allocations: 7.3 MB / 1.214 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.8017, allocations: 1.047 MB / 1.215 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008849/0.8026, allocations: 0.6906 MB / 1.216 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.8028, allocations: 110.1 kB / 1.216 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.8029, allocations: 63.48 kB / 1.216 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009551/0.8038, allocations: 310.6 kB / 1.216 GB, free: 15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/0.8038, allocations: 0 / 1.216 GB, free: 15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.007375/0.8112, allocations: 4.419 MB / 1.22 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.8113, allocations: 179.3 kB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.8126, allocations: 1.259 MB / 1.222 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.8127, allocations: 49.7 kB / 1.222 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.8132, allocations: 0.7008 MB / 1.223 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.8135, allocations: 402.1 kB / 1.223 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.8138, allocations: 259.4 kB / 1.223 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.814, allocations: 361.9 kB / 1.224 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/0.8147, allocations: 0.5153 MB / 1.224 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.8157, allocations: 0.8553 MB / 1.225 GB, free: 5.75 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.01104/0.8268, allocations: 4.745 MB / 1.23 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.8268, allocations: 4 kB / 1.23 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002393/0.8292, allocations: 1.596 MB / 1.231 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.8292, allocations: 11.98 kB / 1.231 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8292, allocations: 8 kB / 1.231 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.8293, allocations: 16 kB / 1.231 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.8304, allocations: 287.5 kB / 1.231 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.8304, allocations: 23.88 kB / 1.231 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8318, allocations: 110.9 kB / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.8319, allocations: 59.98 kB / 1.232 GB, free: 14.73 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.0006826/0.8326, allocations: 425.9 kB / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.8329, allocations: 162 kB / 1.232 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.8349, allocations: 1.287 MB / 1.233 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.8349, allocations: 16 kB / 1.233 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8349, allocations: 3.938 kB / 1.233 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/0.8364, allocations: 1.225 MB / 1.235 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00513/0.8415, allocations: 3.746 MB / 1.238 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.8415, allocations: 8 kB / 1.238 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.8426, allocations: 252.5 kB / 1.239 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.8427, allocations: 15.94 kB / 1.239 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.8427, allocations: 40 kB / 1.239 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.8428, allocations: 23.92 kB / 1.239 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.8428, allocations: 15.94 kB / 1.239 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.8453, allocations: 2.098 MB / 1.241 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.8458, allocations: 355 kB / 1.241 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.846, allocations: 39.92 kB / 1.241 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8471, allocations: 89.75 kB / 1.241 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8473, allocations: 108.3 kB / 1.241 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.8474, allocations: 51.92 kB / 1.241 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000989/0.8484, allocations: 0.8529 MB / 1.242 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8484, allocations: 3.938 kB / 1.242 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001238/0.8496, allocations: 432 kB / 1.243 GB, free: 3.059 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.00302/0.8526, allocations: 2.778 MB / 1.245 GB, free: 132 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3586/1.211, allocations: 1.211 MB / 1.246 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.211, allocations: 2.719 kB / 1.246 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/1.212, allocations: 0.537 MB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.216, allocations: 0.8888 MB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.233, allocations: 14.25 MB / 1.262 GB, free: 277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/1.234, allocations: 1.375 MB / 1.263 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001423/1.236, allocations: 386.3 kB / 1.263 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/1.236, allocations: 0.636 MB / 1.264 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.236, allocations: 0 / 1.264 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/2.603, allocations: 41.27 MB / 1.304 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.603, allocations: 277.1 kB / 1.305 GB, free: 245.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/5.731, allocations: 2.656 kB / 1.305 GB, free: 245.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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