Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.289/2.289, allocations: 390.5 MB / 398 MB, free: 10.96 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.001397/0.001397, allocations: 180.9 kB / 491.2 MB, free: 1.621 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.651/1.651, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009673/0.0009672, allocations: 91.94 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.216e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2601, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.527, allocations: 412.8 MB / 1.616 GB, free: 1.723 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/1.527, allocations: 98.06 kB / 1.616 GB, free: 1.672 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.29/2.817, allocations: 247.2 MB / 1.857 GB, free: 352.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.834e-06/2.817, allocations: 3.938 kB / 1.857 GB, free: 352.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001439/2.818, allocations: 39.55 kB / 1.857 GB, free: 352.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003105/2.821, allocations: 1.2 MB / 1.858 GB, free: 351 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/2.821, allocations: 8.031 kB / 1.858 GB, free: 351 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/2.822, allocations: 138.5 kB / 1.858 GB, free: 350.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/2.838, allocations: 7.755 MB / 1.866 GB, free: 343.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/2.838, allocations: 28 kB / 1.866 GB, free: 343.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/2.838, allocations: 47.95 kB / 1.866 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/2.839, allocations: 0.6325 MB / 1.867 GB, free: 342.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/2.84, allocations: 0.8576 MB / 1.867 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/2.841, allocations: 0 / 1.867 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/2.841, allocations: 3.938 kB / 1.867 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/2.841, allocations: 32 kB / 1.867 GB, free: 341.4 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.00526/2.846, allocations: 4.393 MB / 1.872 GB, free: 336.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/2.846, allocations: 369.6 kB / 1.872 GB, free: 336.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/2.847, allocations: 245.3 kB / 1.872 GB, free: 336.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/2.847, allocations: 429.8 kB / 1.873 GB, free: 335.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/2.847, allocations: 38.89 kB / 1.873 GB, free: 335.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/2.847, allocations: 0 / 1.873 GB, free: 335.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001252/2.848, allocations: 0.5492 MB / 1.873 GB, free: 335 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/2.848, allocations: 59.34 kB / 1.873 GB, free: 335 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/2.849, allocations: 0.7779 MB / 1.874 GB, free: 334.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/2.849, allocations: 29.7 kB / 1.874 GB, free: 334.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/2.85, allocations: 0.5066 MB / 1.875 GB, free: 333.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/2.85, allocations: 138 kB / 1.875 GB, free: 333.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/2.85, allocations: 0 / 1.875 GB, free: 333.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/2.85, allocations: 337.9 kB / 1.875 GB, free: 333.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/2.85, allocations: 205 kB / 1.875 GB, free: 332.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/2.85, allocations: 423.8 kB / 1.876 GB, free: 332.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/2.851, allocations: 309.3 kB / 1.876 GB, free: 332.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.851, allocations: 0 / 1.876 GB, free: 332.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001128/2.852, allocations: 0.7285 MB / 1.877 GB, free: 331.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004759/2.852, allocations: 2.179 MB / 1.879 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/2.852, allocations: 4 kB / 1.879 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/2.853, allocations: 71.81 kB / 1.879 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/2.853, allocations: 111.8 kB / 1.879 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/2.853, allocations: 0.6304 MB / 1.88 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/2.854, allocations: 95.36 kB / 1.88 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/2.854, allocations: 28 kB / 1.88 GB, free: 328.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/2.854, allocations: 5.562 kB / 1.88 GB, free: 328.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008885/2.855, allocations: 0.6051 MB / 1.88 GB, free: 327.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/2.855, allocations: 8 kB / 1.88 GB, free: 327.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/2.855, allocations: 68.25 kB / 1.88 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/2.856, allocations: 111.8 kB / 1.881 GB, free: 327.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/2.857, allocations: 1.59 MB / 1.882 GB, free: 325.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/2.858, allocations: 95.38 kB / 1.882 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/2.858, allocations: 32 kB / 1.882 GB, free: 325.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/2.858, allocations: 124.7 kB / 1.882 GB, free: 325.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008401/2.859, allocations: 0.5196 MB / 1.883 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/2.859, allocations: 86.97 kB / 1.883 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009591/2.86, allocations: 0.6049 MB / 1.884 GB, free: 324.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/2.86, allocations: 7.984 kB / 1.884 GB, free: 324.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.86, allocations: 4 kB / 1.884 GB, free: 324.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007076/2.861, allocations: 0.7775 MB / 1.884 GB, free: 323.2 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 postOpt removeSimpleEquations (simulation): time 0.002247/2.863, allocations: 1.537 MB / 1.886 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.863, allocations: 0 / 1.886 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/2.863, allocations: 83.89 kB / 1.886 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-05/2.863, allocations: 28.91 kB / 1.886 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/2.864, allocations: 12 kB / 1.886 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002549/2.864, allocations: 0.564 MB / 1.886 GB, free: 320.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.864, allocations: 3.953 kB / 1.886 GB, free: 320.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/2.865, allocations: 0.9478 MB / 1.887 GB, free: 319.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/2.865, allocations: 255.9 kB / 1.888 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/2.865, allocations: 8 kB / 1.888 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/2.866, allocations: 67.77 kB / 1.888 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/2.866, allocations: 27.86 kB / 1.888 GB, free: 319.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/2.866, allocations: 23.98 kB / 1.888 GB, free: 319.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006749/2.867, allocations: 0.6084 MB / 1.888 GB, free: 318.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.867, allocations: 0 / 1.888 GB, free: 318.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002061/2.869, allocations: 0.5726 MB / 1.889 GB, free: 318.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/2.871, allocations: 2.047 MB / 1.891 GB, free: 316.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001398/2.872, allocations: 0.9475 MB / 1.892 GB, free: 315.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/2.872, allocations: 6.062 kB / 1.892 GB, free: 315.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/2.873, allocations: 231.7 kB / 1.892 GB, free: 315.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/2.875, allocations: 0.5333 MB / 1.893 GB, free: 314.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/2.879, allocations: 1.927 MB / 1.894 GB, free: 312.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/2.88, allocations: 1.253 MB / 1.896 GB, free: 311.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001777/2.881, allocations: 0.6741 MB / 1.896 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/2.882, allocations: 347.3 kB / 1.897 GB, free: 310.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/2.882, allocations: 3.938 kB / 1.897 GB, free: 310.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/2.939, allocations: 28.36 MB / 1.924 GB, free: 282.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/2.939, allocations: 211.3 kB / 1.925 GB, free: 281.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/5.839, allocations: 1.875 kB / 1.925 GB, free: 281.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat