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.269/2.269, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001301, allocations: 192.7 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009123/0.0009122, allocations: 87.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.202e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3299, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.029, allocations: 2.167 GB / 3.385 GB, free: 121.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.029, allocations: 95.94 kB / 3.386 GB, free: 121 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.804/7.833, allocations: 489.1 MB / 3.863 GB, free: 98.66 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.342e-06/7.833, allocations: 0 / 3.863 GB, free: 98.66 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001058/7.833, allocations: 43.92 kB / 3.863 GB, free: 98.62 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.002928/7.836, allocations: 1.52 MB / 3.865 GB, free: 97.05 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/7.836, allocations: 8.031 kB / 3.865 GB, free: 97.04 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/7.836, allocations: 164 kB / 3.865 GB, free: 96.88 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/7.839, allocations: 485.7 kB / 3.865 GB, free: 96.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/7.842, allocations: 1.343 MB / 3.867 GB, free: 95.01 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/7.842, allocations: 74 kB / 3.867 GB, free: 94.94 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/7.842, allocations: 108 kB / 3.867 GB, free: 94.84 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/7.844, allocations: 1.221 MB / 3.868 GB, free: 93.61 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/7.844, allocations: 8 kB / 3.868 GB, free: 93.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/7.844, allocations: 36 kB / 3.868 GB, free: 93.56 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/7.844, allocations: 38 kB / 3.868 GB, free: 93.52 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/7.846, allocations: 1.175 MB / 3.869 GB, free: 92.35 MB / 1.167 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.006201/7.852, allocations: 4.883 MB / 3.874 GB, free: 87.09 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/7.853, allocations: 0.973 MB / 3.875 GB, free: 86.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/7.854, allocations: 0.5698 MB / 3.876 GB, free: 85.54 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/7.854, allocations: 203 kB / 3.876 GB, free: 85.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/7.854, allocations: 43.34 kB / 3.876 GB, free: 85.25 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.015e-06/7.854, allocations: 0 / 3.876 GB, free: 85.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.004443/7.859, allocations: 2.57 MB / 3.878 GB, free: 82.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/7.859, allocations: 64.12 kB / 3.878 GB, free: 82.54 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/7.86, allocations: 0.8632 MB / 3.879 GB, free: 81.66 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/7.86, allocations: 45.7 kB / 3.879 GB, free: 81.61 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/7.86, allocations: 0.5312 MB / 3.88 GB, free: 81.07 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/7.86, allocations: 291.8 kB / 3.88 GB, free: 80.78 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/7.86, allocations: 16 kB / 3.88 GB, free: 80.76 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/7.86, allocations: 345.8 kB / 3.88 GB, free: 80.42 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/7.861, allocations: 433.3 kB / 3.881 GB, free: 79.99 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/7.861, allocations: 0.5818 MB / 3.881 GB, free: 79.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/7.862, allocations: 0.5368 MB / 3.882 GB, free: 78.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/7.862, allocations: 0 / 3.882 GB, free: 78.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001519/7.863, allocations: 1.226 MB / 3.883 GB, free: 77.58 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/7.864, allocations: 1.054 MB / 3.884 GB, free: 76.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/7.864, allocations: 4 kB / 3.884 GB, free: 76.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/7.864, allocations: 72.81 kB / 3.884 GB, free: 76.37 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/7.865, allocations: 191.7 kB / 3.884 GB, free: 76.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/7.867, allocations: 2.983 MB / 3.887 GB, free: 73.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/7.868, allocations: 151.6 kB / 3.887 GB, free: 72.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/7.869, allocations: 28 kB / 3.887 GB, free: 72.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/7.869, allocations: 4 kB / 3.887 GB, free: 72.84 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/7.87, allocations: 1.108 MB / 3.889 GB, free: 71.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/7.87, allocations: 192 / 3.889 GB, free: 71.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/7.87, allocations: 76.81 kB / 3.889 GB, free: 71.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/7.871, allocations: 175.8 kB / 3.889 GB, free: 71.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/7.872, allocations: 1.803 MB / 3.891 GB, free: 69.54 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/7.874, allocations: 151.6 kB / 3.891 GB, free: 69.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/7.874, allocations: 39.95 kB / 3.891 GB, free: 69.35 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 () * 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.0002419/7.874, allocations: 148.8 kB / 3.891 GB, free: 69.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/7.874, allocations: 114.7 kB / 3.891 GB, free: 69.08 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/7.876, allocations: 1.184 MB / 3.892 GB, free: 67.89 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/7.876, allocations: 8 kB / 3.892 GB, free: 67.88 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/7.876, allocations: 3.938 kB / 3.892 GB, free: 67.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/7.877, allocations: 1.228 MB / 3.893 GB, free: 66.57 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/7.881, allocations: 2.799 MB / 3.896 GB, free: 63.69 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/7.881, allocations: 4.172 kB / 3.896 GB, free: 63.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/7.882, allocations: 231.7 kB / 3.896 GB, free: 63.46 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/7.882, allocations: 77 kB / 3.896 GB, free: 63.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/7.883, allocations: 23.98 kB / 3.896 GB, free: 63.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/7.884, allocations: 2.987 MB / 3.899 GB, free: 60.19 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/7.884, allocations: 8 kB / 3.899 GB, free: 60.18 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/7.887, allocations: 1.92 MB / 3.901 GB, free: 58.17 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/7.887, allocations: 323.7 kB / 3.901 GB, free: 57.83 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/7.888, allocations: 23.98 kB / 3.902 GB, free: 57.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/7.889, allocations: 107.9 kB / 3.902 GB, free: 57.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/7.889, allocations: 68.59 kB / 3.902 GB, free: 57.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/7.889, allocations: 32 kB / 3.902 GB, free: 57.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001026/7.89, allocations: 0.6806 MB / 3.902 GB, free: 56.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/7.89, allocations: 0 / 3.902 GB, free: 56.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002855/7.893, allocations: 0.7851 MB / 3.903 GB, free: 56.12 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 () * 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.004246/7.897, allocations: 4.262 MB / 3.907 GB, free: 51.74 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002713/7.9, allocations: 1.891 MB / 3.909 GB, free: 49.82 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/7.9, allocations: 4.25 kB / 3.909 GB, free: 49.82 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007472/7.901, allocations: 0.6589 MB / 3.91 GB, free: 49.14 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/7.904, allocations: 0.7744 MB / 3.911 GB, free: 48.38 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/7.909, allocations: 3.058 MB / 3.914 GB, free: 45.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/7.91, allocations: 1.446 MB / 3.915 GB, free: 43.77 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002452/7.912, allocations: 1.028 MB / 3.916 GB, free: 42.74 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/7.913, allocations: 443.3 kB / 3.916 GB, free: 42.31 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/7.913, allocations: 0 / 3.916 GB, free: 42.31 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9074/8.82, allocations: 63.31 MB / 3.978 GB, free: 289.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/8.82, allocations: 252.5 kB / 3.978 GB, free: 289.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/12.92, allocations: 1.406 kB / 3.978 GB, free: 289.2 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