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.638/2.638, allocations: 393.5 MB / 408.4 MB, free: 11 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.001314/0.001314, allocations: 172 kB / 0.4901 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.745/1.745, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001029/0.001028, allocations: 96.08 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004479, allocations: 12.5 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4112, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.816, allocations: 413.5 MB / 1.633 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/1.817, allocations: 103.9 kB / 1.633 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.443/3.259, allocations: 249.3 MB / 1.877 GB, free: 352 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.875e-06/3.26, allocations: 1.062 kB / 1.877 GB, free: 352 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001316/3.26, allocations: 43.34 kB / 1.877 GB, free: 352 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003797/3.263, allocations: 1.422 MB / 1.878 GB, free: 351.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/3.264, allocations: 9.062 kB / 1.878 GB, free: 351.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002936/3.264, allocations: 128.5 kB / 1.878 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/3.264, allocations: 137.8 kB / 1.878 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/3.284, allocations: 7.843 MB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/3.284, allocations: 60.38 kB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/3.284, allocations: 80.97 kB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/3.286, allocations: 0.9697 MB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/3.286, allocations: 4.844 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/3.286, allocations: 35.5 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/3.286, allocations: 28.33 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/3.287, allocations: 0.6936 MB / 1.888 GB, free: 350.7 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.006545/3.294, allocations: 4.54 MB / 1.892 GB, free: 348.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/3.295, allocations: 386.7 kB / 1.893 GB, free: 348.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/3.295, allocations: 436 kB / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/3.295, allocations: 37.92 kB / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 3.737e-06/3.295, allocations: 0 / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.001936/3.297, allocations: 0.8273 MB / 1.894 GB, free: 347.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/3.297, allocations: 55.53 kB / 1.894 GB, free: 347.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/3.299, allocations: 0.8556 MB / 1.895 GB, free: 347.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/3.299, allocations: 40.91 kB / 1.895 GB, free: 347.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/3.299, allocations: 0.507 MB / 1.895 GB, free: 347 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/3.299, allocations: 145.6 kB / 1.895 GB, free: 346.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/3.299, allocations: 9.75 kB / 1.895 GB, free: 346.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/3.299, allocations: 328.2 kB / 1.896 GB, free: 346.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/3.3, allocations: 217.9 kB / 1.896 GB, free: 346.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/3.3, allocations: 443.5 kB / 1.896 GB, free: 346.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/3.301, allocations: 312.3 kB / 1.897 GB, free: 346.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/3.301, allocations: 2.219 kB / 1.897 GB, free: 346.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001616/3.303, allocations: 0.7869 MB / 1.897 GB, free: 346.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006857/3.303, allocations: 2.191 MB / 1.9 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/3.303, allocations: 5.594 kB / 1.9 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/3.304, allocations: 59.2 kB / 1.9 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/3.304, allocations: 112.6 kB / 1.9 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/3.305, allocations: 0.6364 MB / 1.9 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/3.306, allocations: 114.1 kB / 1.9 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/3.306, allocations: 34.19 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/3.306, allocations: 3.656 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/3.307, allocations: 0.6782 MB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.307, allocations: 5.344 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/3.308, allocations: 64.81 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/3.308, allocations: 117.3 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/3.31, allocations: 1.66 MB / 1.903 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/3.311, allocations: 105.9 kB / 1.903 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/3.311, allocations: 25.97 kB / 1.903 GB, free: 342.1 MB / 1.167 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 () * Number of clocked 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.0009674/3.312, allocations: 496.3 kB / 1.904 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/3.312, allocations: 89.16 kB / 1.904 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/3.313, allocations: 0.6483 MB / 1.904 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/3.313, allocations: 6.891 kB / 1.904 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/3.313, allocations: 0 / 1.904 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008105/3.314, allocations: 0.822 MB / 1.905 GB, free: 341.3 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 postOpt removeSimpleEquations (simulation): time 0.003524/3.318, allocations: 1.674 MB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/3.318, allocations: 1.031 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/3.318, allocations: 81.2 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/3.318, allocations: 34.83 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/3.318, allocations: 15.55 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003684/3.319, allocations: 0.5672 MB / 1.907 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/3.319, allocations: 7.375 kB / 1.907 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/3.321, allocations: 0.9947 MB / 1.908 GB, free: 340.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007961/3.321, allocations: 265.7 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/3.322, allocations: 7.531 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/3.323, allocations: 76.84 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/3.323, allocations: 29.47 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/3.323, allocations: 26.03 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001218/3.324, allocations: 0.6626 MB / 1.909 GB, free: 339.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/3.324, allocations: 0 / 1.909 GB, free: 339.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003097/3.327, allocations: 0.6023 MB / 1.91 GB, free: 339.7 MB / 1.167 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 () * Number of clocked 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.002361/3.33, allocations: 2.072 MB / 1.912 GB, free: 338.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001754/3.331, allocations: 0.9992 MB / 1.913 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/3.331, allocations: 0 / 1.913 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003384/3.332, allocations: 243.6 kB / 1.913 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/3.335, allocations: 0.5649 MB / 1.914 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/3.348, allocations: 9.778 MB / 1.923 GB, free: 333 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/3.349, allocations: 1.249 MB / 1.925 GB, free: 332.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001654/3.35, allocations: 448 kB / 1.925 GB, free: 332.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/3.351, allocations: 365.5 kB / 1.925 GB, free: 332.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.933e-06/3.351, allocations: 0 / 1.925 GB, free: 332.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/3.415, allocations: 30.43 MB / 1.955 GB, free: 331.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/3.415, allocations: 288.6 kB / 1.955 GB, free: 330.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/6.695, allocations: 0 / 1.955 GB, free: 330.8 MB / 1.167 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