Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 187.8 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008595, allocations: 95.7 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.946e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.547/6.835, allocations: 2.166 GB / 3.378 GB, free: 109 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/6.836, allocations: 98.5 kB / 3.378 GB, free: 109 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.909/8.745, allocations: 483.7 MB / 3.851 GB, free: 82.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/8.745, allocations: 0 / 3.851 GB, free: 82.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001091/8.745, allocations: 47.86 kB / 3.851 GB, free: 82.91 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003183/8.748, allocations: 1.513 MB / 3.852 GB, free: 81.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/8.748, allocations: 12.03 kB / 3.852 GB, free: 81.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/8.751, allocations: 481.8 kB / 3.853 GB, free: 80.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/8.753, allocations: 1.339 MB / 3.854 GB, free: 79.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/8.754, allocations: 32 kB / 3.854 GB, free: 79.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/8.754, allocations: 67.98 kB / 3.854 GB, free: 79.39 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/8.755, allocations: 1.12 MB / 3.855 GB, free: 78.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/8.757, allocations: 1.089 MB / 3.856 GB, free: 77.17 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/8.757, allocations: 4 kB / 3.856 GB, free: 77.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/8.757, allocations: 0 / 3.856 GB, free: 77.17 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/8.757, allocations: 37.98 kB / 3.856 GB, free: 77.13 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005912/8.763, allocations: 4.692 MB / 3.861 GB, free: 72.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/8.764, allocations: 0.9397 MB / 3.862 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/8.765, allocations: 0.5386 MB / 3.862 GB, free: 70.58 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/8.765, allocations: 195 kB / 3.863 GB, free: 70.35 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/8.765, allocations: 51.28 kB / 3.863 GB, free: 70.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/8.765, allocations: 0 / 3.863 GB, free: 70.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004759/8.77, allocations: 2.449 MB / 3.865 GB, free: 67.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/8.77, allocations: 68.12 kB / 3.865 GB, free: 67.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/8.771, allocations: 0.7711 MB / 3.866 GB, free: 66.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/8.771, allocations: 33.64 kB / 3.866 GB, free: 66.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/8.772, allocations: 0.5272 MB / 3.866 GB, free: 66.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/8.772, allocations: 283.8 kB / 3.867 GB, free: 66.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/8.772, allocations: 0 / 3.867 GB, free: 66.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001086/8.772, allocations: 337.9 kB / 3.867 GB, free: 65.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/8.772, allocations: 417.3 kB / 3.867 GB, free: 65.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/8.773, allocations: 0.5662 MB / 3.868 GB, free: 64.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/8.774, allocations: 0.5242 MB / 3.869 GB, free: 64.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.774, allocations: 8 kB / 3.869 GB, free: 64.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001484/8.775, allocations: 1.148 MB / 3.87 GB, free: 63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/8.776, allocations: 1.066 MB / 3.871 GB, free: 61.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/8.776, allocations: 4 kB / 3.871 GB, free: 61.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/8.776, allocations: 64.81 kB / 3.871 GB, free: 61.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/8.777, allocations: 195.7 kB / 3.871 GB, free: 61.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/8.779, allocations: 2.932 MB / 3.874 GB, free: 58.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/8.78, allocations: 139.6 kB / 3.874 GB, free: 58.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/8.78, allocations: 31.98 kB / 3.874 GB, free: 58.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/8.78, allocations: 4 kB / 3.874 GB, free: 58.32 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/8.782, allocations: 1.022 MB / 3.875 GB, free: 57.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/8.782, allocations: 4 kB / 3.875 GB, free: 57.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/8.782, allocations: 68.81 kB / 3.875 GB, free: 57.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/8.782, allocations: 168.2 kB / 3.875 GB, free: 57.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/8.784, allocations: 1.763 MB / 3.877 GB, free: 55.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/8.785, allocations: 131.6 kB / 3.877 GB, free: 55.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/8.785, allocations: 35.94 kB / 3.877 GB, free: 55.02 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/8.786, allocations: 120.8 kB / 3.877 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001368/8.787, allocations: 1.027 MB / 3.878 GB, free: 53.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/8.787, allocations: 114.6 kB / 3.878 GB, free: 53.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/8.789, allocations: 1.113 MB / 3.879 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/8.789, allocations: 8 kB / 3.879 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/8.789, allocations: 0 / 3.879 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/8.79, allocations: 1.181 MB / 3.881 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/8.794, allocations: 2.599 MB / 3.883 GB, free: 48.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/8.794, allocations: 7.984 kB / 3.883 GB, free: 48.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/8.795, allocations: 227.7 kB / 3.883 GB, free: 48.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/8.795, allocations: 64.81 kB / 3.883 GB, free: 48.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/8.795, allocations: 19.92 kB / 3.883 GB, free: 48.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/8.796, allocations: 2.928 MB / 3.886 GB, free: 45.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/8.796, allocations: 4 kB / 3.886 GB, free: 45.27 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/8.799, allocations: 1.848 MB / 3.888 GB, free: 43.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/8.799, allocations: 323.7 kB / 3.888 GB, free: 42.99 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/8.799, allocations: 15.94 kB / 3.888 GB, free: 42.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/8.801, allocations: 99.72 kB / 3.888 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/8.801, allocations: 52.7 kB / 3.889 GB, free: 42.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/8.801, allocations: 31.98 kB / 3.889 GB, free: 42.79 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007721/8.801, allocations: 0.6011 MB / 3.889 GB, free: 42.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.801, allocations: 0 / 3.889 GB, free: 42.18 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002615/8.804, allocations: 0.7264 MB / 3.89 GB, free: 41.45 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004448/8.809, allocations: 4.358 MB / 3.894 GB, free: 36.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002712/8.811, allocations: 1.826 MB / 3.896 GB, free: 35.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/8.811, allocations: 4.188 kB / 3.896 GB, free: 35.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/8.812, allocations: 0.6292 MB / 3.897 GB, free: 34.49 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/8.816, allocations: 0.7347 MB / 3.897 GB, free: 33.76 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/8.822, allocations: 2.975 MB / 3.9 GB, free: 30.71 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/8.823, allocations: 1.45 MB / 3.902 GB, free: 29.23 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002817/8.826, allocations: 0.9687 MB / 3.902 GB, free: 28.26 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/8.827, allocations: 443.3 kB / 3.903 GB, free: 27.82 MB / 1.151 GB Notification: Performance of SimCode: time 1.633e-06/8.827, allocations: 0 / 3.903 GB, free: 27.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9516/9.778, allocations: 46.48 MB / 3.948 GB, free: 282 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/9.779, allocations: 209.2 kB / 3.949 GB, free: 281.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/13.54, allocations: 0 / 3.949 GB, free: 281.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat does not exist to compare? outputFormat=mat