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.701/2.701, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.0013/0.0013, allocations: 195.6 kB / 0.4902 GB, free: 2.242 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.871/1.871, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001047/0.001047, allocations: 99.08 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 10.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3862, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.29/6.676, allocations: 2.167 GB / 3.396 GB, free: 223.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/6.677, allocations: 103.1 kB / 3.396 GB, free: 223.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/8.448, allocations: 489.5 MB / 3.874 GB, free: 207.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.973e-06/8.448, allocations: 0 / 3.874 GB, free: 207.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001258/8.448, allocations: 39.98 kB / 3.874 GB, free: 207.1 MB / 1.167 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.005129/8.454, allocations: 1.768 MB / 3.876 GB, free: 205.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/8.454, allocations: 8.031 kB / 3.876 GB, free: 205.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004829/8.454, allocations: 168.1 kB / 3.876 GB, free: 205.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/8.458, allocations: 489.7 kB / 3.877 GB, free: 204.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/8.461, allocations: 1.343 MB / 3.878 GB, free: 203.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/8.461, allocations: 74 kB / 3.878 GB, free: 203.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/8.462, allocations: 100 kB / 3.878 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/8.464, allocations: 1.241 MB / 3.879 GB, free: 201.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/8.464, allocations: 7.938 kB / 3.879 GB, free: 201.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/8.464, allocations: 43.95 kB / 3.879 GB, free: 201.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/8.464, allocations: 37.98 kB / 3.879 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/8.466, allocations: 1.187 MB / 3.88 GB, free: 200.5 MB / 1.167 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.007418/8.473, allocations: 4.899 MB / 3.885 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/8.474, allocations: 0.9764 MB / 3.886 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/8.475, allocations: 206.8 kB / 3.886 GB, free: 194 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/8.475, allocations: 43.2 kB / 3.886 GB, free: 194 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.417e-06/8.475, allocations: 0 / 3.886 GB, free: 194 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.0057/8.48, allocations: 2.983 MB / 3.889 GB, free: 190.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/8.481, allocations: 60.06 kB / 3.889 GB, free: 190.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/8.482, allocations: 0.8628 MB / 3.89 GB, free: 190 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/8.482, allocations: 45.7 kB / 3.89 GB, free: 189.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/8.482, allocations: 0.5312 MB / 3.891 GB, free: 189.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/8.482, allocations: 291.8 kB / 3.891 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/8.482, allocations: 20 kB / 3.891 GB, free: 189.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/8.483, allocations: 341.9 kB / 3.891 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/8.483, allocations: 441.7 kB / 3.892 GB, free: 188.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/8.484, allocations: 0.5996 MB / 3.892 GB, free: 187.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/8.484, allocations: 0.5377 MB / 3.893 GB, free: 187.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/8.484, allocations: 4 kB / 3.893 GB, free: 187.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001746/8.486, allocations: 1.243 MB / 3.894 GB, free: 185.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002629/8.486, allocations: 1.055 MB / 3.895 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/8.486, allocations: 4 kB / 3.895 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/8.487, allocations: 76.81 kB / 3.895 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/8.488, allocations: 183.8 kB / 3.895 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/8.49, allocations: 3.014 MB / 3.898 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/8.492, allocations: 155.5 kB / 3.899 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/8.492, allocations: 39.98 kB / 3.899 GB, free: 181.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/8.492, allocations: 5.094 kB / 3.899 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/8.493, allocations: 1.113 MB / 3.9 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/8.493, allocations: 4.438 kB / 3.9 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/8.493, allocations: 84.69 kB / 3.9 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/8.494, allocations: 167.8 kB / 3.9 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/8.496, allocations: 1.843 MB / 3.902 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/8.497, allocations: 147.6 kB / 3.902 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/8.497, allocations: 35.98 kB / 3.902 GB, free: 177.5 MB / 1.167 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 () * Number of clocked 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.001021/8.498, allocations: 0.5943 MB / 3.902 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/8.499, allocations: 118.6 kB / 3.903 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/8.501, allocations: 1.189 MB / 3.904 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/8.501, allocations: 8 kB / 3.904 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/8.501, allocations: 0 / 3.904 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/8.502, allocations: 1.249 MB / 3.905 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/8.506, allocations: 2.807 MB / 3.908 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.506, allocations: 3.938 kB / 3.908 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/8.507, allocations: 227.7 kB / 3.908 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/8.507, allocations: 76.75 kB / 3.908 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/8.507, allocations: 23.98 kB / 3.908 GB, free: 171.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/8.509, allocations: 3.007 MB / 3.911 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/8.509, allocations: 3.938 kB / 3.911 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/8.512, allocations: 1.932 MB / 3.913 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/8.513, allocations: 331.7 kB / 3.913 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/8.513, allocations: 24 kB / 3.913 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/8.514, allocations: 111.7 kB / 3.913 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/8.515, allocations: 60.52 kB / 3.913 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/8.515, allocations: 31.98 kB / 3.913 GB, free: 165.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001151/8.516, allocations: 0.6918 MB / 3.914 GB, free: 164.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/8.516, allocations: 4 kB / 3.914 GB, free: 164.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003323/8.519, allocations: 0.7851 MB / 3.915 GB, free: 163.8 MB / 1.167 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 () * Number of clocked 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.005036/8.524, allocations: 4.259 MB / 3.919 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003233/8.528, allocations: 1.881 MB / 3.921 GB, free: 157.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/8.528, allocations: 4 kB / 3.921 GB, free: 157.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/8.529, allocations: 0.6592 MB / 3.921 GB, free: 156.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/8.533, allocations: 0.8013 MB / 3.922 GB, free: 156 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/8.548, allocations: 10.28 MB / 3.932 GB, free: 145.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/8.549, allocations: 1.448 MB / 3.934 GB, free: 144 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002228/8.552, allocations: 0.6923 MB / 3.934 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/8.553, allocations: 451.3 kB / 3.935 GB, free: 142.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.283e-06/8.553, allocations: 4 kB / 3.935 GB, free: 142.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/8.644, allocations: 58.19 MB / 3.992 GB, free: 85.11 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/8.644, allocations: 289.9 kB / 3.992 GB, free: 84.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.329/12.97, allocations: 4.062 kB / 3.992 GB, free: 84.74 MB / 1.167 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