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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001213/0.001217, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001497/0.001497, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2024/0.9312, allocations: 183.3 MB / 1.133 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.9498, allocations: 11.23 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.9525, allocations: 55.62 kB / 1.144 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.9558, allocations: 0.8903 MB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.9662, allocations: 2.641 MB / 1.147 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.9716, allocations: 1.573 MB / 1.149 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005628/0.9773, allocations: 2.571 MB / 1.151 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.9805, allocations: 1.318 MB / 1.152 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.9851, allocations: 1.67 MB / 1.154 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.9873, allocations: 1.004 MB / 1.155 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005598/0.9879, allocations: 80 kB / 1.155 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.9915, allocations: 0.9594 MB / 1.156 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.9927, allocations: 0.5376 MB / 1.157 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.9938, allocations: 388.7 kB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.9988, allocations: 2.143 MB / 1.159 GB, free: 13.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9988, allocations: 0 / 1.159 GB, free: 13.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.328e-06/0.9989, allocations: 3.938 kB / 1.159 GB, free: 13.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001653/0.999, allocations: 0 / 1.159 GB, free: 13.32 MB / 0.92 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.005323/1.004, allocations: 1.889 MB / 1.161 GB, free: 11.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.004, allocations: 8.031 kB / 1.161 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006676/1.005, allocations: 206.8 kB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/1.009, allocations: 0.5011 MB / 1.162 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/1.012, allocations: 1.213 MB / 1.163 GB, free: 9.383 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/1.012, allocations: 110.8 kB / 1.163 GB, free: 9.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/1.012, allocations: 148 kB / 1.163 GB, free: 9.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/1.016, allocations: 1.739 MB / 1.165 GB, free: 7.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/1.016, allocations: 11.84 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/1.016, allocations: 56 kB / 1.165 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.701e-05/1.016, allocations: 54.53 kB / 1.165 GB, free: 7.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/1.019, allocations: 1.392 MB / 1.166 GB, free: 5.762 MB / 0.92 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.0113/1.03, allocations: 7.308 MB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.032, allocations: 1.043 MB / 1.174 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.032, allocations: 20.98 kB / 1.174 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/1.032, allocations: 55.5 kB / 1.174 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001373/1.034, allocations: 302.5 kB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 8.116e-06/1.034, allocations: 0 / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=112): time 0.009678/1.043, allocations: 4.423 MB / 1.179 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/1.044, allocations: 171.2 kB / 1.179 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.045, allocations: 1.247 MB / 1.18 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.046, allocations: 49.7 kB / 1.18 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/1.046, allocations: 0.7046 MB / 1.181 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/1.046, allocations: 394.2 kB / 1.181 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/1.047, allocations: 32 kB / 1.182 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.047, allocations: 362 kB / 1.182 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/1.048, allocations: 0.5075 MB / 1.182 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.049, allocations: 0.8362 MB / 1.183 GB, free: 3.633 MB / 0.9356 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009936/1.059, allocations: 3.499 MB / 1.187 GB, free: 88 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.059, allocations: 4 kB / 1.187 GB, free: 84 kB / 0.9356 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002845/1.061, allocations: 1.588 MB / 1.188 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.062, allocations: 14.67 kB / 1.188 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.062, allocations: 12 kB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/1.062, allocations: 12 kB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.063, allocations: 291.5 kB / 1.188 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.122e-05/1.063, allocations: 27.98 kB / 1.188 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.065, allocations: 110.2 kB / 1.189 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.065, allocations: 67.97 kB / 1.189 GB, free: 13.97 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008819/1.066, allocations: 425.3 kB / 1.189 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/1.066, allocations: 166 kB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.068, allocations: 1.279 MB / 1.19 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.068, allocations: 12 kB / 1.19 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.068, allocations: 0 / 1.19 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001561/1.07, allocations: 1.221 MB / 1.192 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/1.077, allocations: 3.754 MB / 1.195 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.077, allocations: 12 kB / 1.195 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.078, allocations: 243.7 kB / 1.196 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-05/1.078, allocations: 16 kB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/1.078, allocations: 36 kB / 1.196 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/1.078, allocations: 27.86 kB / 1.196 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.078, allocations: 15.94 kB / 1.196 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/1.082, allocations: 2.768 MB / 1.198 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.083, allocations: 355 kB / 1.199 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.083, allocations: 39.98 kB / 1.199 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.085, allocations: 95.73 kB / 1.199 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.085, allocations: 104.3 kB / 1.199 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.085, allocations: 47.98 kB / 1.199 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001411/1.086, allocations: 0.8373 MB / 1.2 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.086, allocations: 0 / 1.2 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001757/1.088, allocations: 436 kB / 1.2 GB, free: 1.23 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005168/1.093, allocations: 6.236 MB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.095, allocations: 1.204 MB / 1.207 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/1.095, allocations: 0 / 1.207 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008114/1.096, allocations: 0.5446 MB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/1.101, allocations: 0.8619 MB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.112, allocations: 10.44 MB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.113, allocations: 1.403 MB / 1.22 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001838/1.115, allocations: 389.3 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.116, allocations: 0.6356 MB / 1.221 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/1.116, allocations: 0 / 1.221 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5405/1.656, allocations: 41.39 MB / 1.262 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.657, allocations: 250 kB / 1.262 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/4.771, allocations: 2.938 kB / 1.262 GB, free: 276.1 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat