Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",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.265/2.265, allocations: 390.5 MB / 398 MB, free: 10.94 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.001033/0.001033, allocations: 176.8 kB / 491.2 MB, free: 1.562 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.425/1.425, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009078/0.0009078, allocations: 87.89 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.72e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.271/2.537, allocations: 0.814 GB / 2.026 GB, free: 145.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/2.537, allocations: 87.42 kB / 2.026 GB, free: 145.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.222/5.759, allocations: 0.8992 GB / 2.926 GB, free: 173.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.663e-06/5.759, allocations: 0 / 2.926 GB, free: 173.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.925e-05/5.759, allocations: 24 kB / 2.926 GB, free: 173.2 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002923/5.762, allocations: 1.293 MB / 2.927 GB, free: 171.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/5.762, allocations: 12.02 kB / 2.927 GB, free: 171.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/5.764, allocations: 442.2 kB / 2.927 GB, free: 171.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/5.766, allocations: 0.9956 MB / 2.928 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/5.766, allocations: 28 kB / 2.928 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/5.766, allocations: 48 kB / 2.928 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/5.767, allocations: 0.8708 MB / 2.929 GB, free: 169.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/5.769, allocations: 0.8741 MB / 2.93 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/5.769, allocations: 3.938 kB / 2.93 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/5.769, allocations: 3.984 kB / 2.93 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/5.769, allocations: 37.98 kB / 2.93 GB, free: 168.5 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.003654/5.772, allocations: 3.394 MB / 2.934 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/5.773, allocations: 0.6879 MB / 2.934 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/5.774, allocations: 416.4 kB / 2.935 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/5.774, allocations: 210.7 kB / 2.935 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/5.774, allocations: 47.12 kB / 2.935 GB, free: 163.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/5.774, allocations: 0 / 2.935 GB, free: 163.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002239/5.776, allocations: 0.9327 MB / 2.936 GB, free: 162.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/5.776, allocations: 55.97 kB / 2.936 GB, free: 162.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/5.777, allocations: 470.2 kB / 2.936 GB, free: 162 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/5.777, allocations: 25.7 kB / 2.936 GB, free: 161.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/5.777, allocations: 419.8 kB / 2.937 GB, free: 161.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/5.777, allocations: 216.8 kB / 2.937 GB, free: 161.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/5.777, allocations: 0 / 2.937 GB, free: 161.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001079/5.777, allocations: 378.7 kB / 2.937 GB, free: 160.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/5.778, allocations: 281.5 kB / 2.938 GB, free: 160.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/5.778, allocations: 394.4 kB / 2.938 GB, free: 160.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008998/5.779, allocations: 473.8 kB / 2.938 GB, free: 159.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/5.779, allocations: 0 / 2.938 GB, free: 159.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001426/5.78, allocations: 0.8885 MB / 2.939 GB, free: 158.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/5.781, allocations: 451.3 kB / 2.94 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/5.781, allocations: 0 / 2.94 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/5.781, allocations: 4 kB / 2.94 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/5.781, allocations: 143.7 kB / 2.94 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003757/5.782, allocations: 0.6015 MB / 2.94 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/5.783, allocations: 123.5 kB / 2.94 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/5.783, allocations: 32 kB / 2.941 GB, free: 157.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/5.783, allocations: 4 kB / 2.941 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/5.784, allocations: 0.79 MB / 2.941 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/5.784, allocations: 0 / 2.941 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/5.784, allocations: 4 kB / 2.941 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/5.785, allocations: 131.8 kB / 2.941 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/5.785, allocations: 4 kB / 2.941 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/5.786, allocations: 119.5 kB / 2.942 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/5.786, allocations: 31.98 kB / 2.942 GB, free: 156.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002167/5.786, allocations: 112.9 kB / 2.942 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001575/5.788, allocations: 0.839 MB / 2.942 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/5.788, allocations: 67.16 kB / 2.943 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/5.789, allocations: 0.909 MB / 2.943 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/5.789, allocations: 11.94 kB / 2.943 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/5.789, allocations: 0 / 2.943 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/5.791, allocations: 0.8855 MB / 2.944 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/5.795, allocations: 2.476 MB / 2.947 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/5.795, allocations: 12 kB / 2.947 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/5.795, allocations: 139.8 kB / 2.947 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/5.795, allocations: 41.28 kB / 2.947 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/5.795, allocations: 23.98 kB / 2.947 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/5.796, allocations: 1.189 MB / 2.948 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/5.796, allocations: 7.938 kB / 2.948 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/5.798, allocations: 1.565 MB / 2.95 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/5.798, allocations: 244 kB / 2.95 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/5.798, allocations: 12 kB / 2.95 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/5.799, allocations: 67.77 kB / 2.95 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/5.799, allocations: 52.28 kB / 2.95 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/5.799, allocations: 39.97 kB / 2.95 GB, free: 147.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000372/5.799, allocations: 362.9 kB / 2.95 GB, free: 147 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.8, allocations: 0 / 2.95 GB, free: 147 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002205/5.802, allocations: 0.7989 MB / 2.951 GB, free: 146.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004542/5.806, allocations: 4.421 MB / 2.955 GB, free: 141.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001592/5.808, allocations: 1.127 MB / 2.957 GB, free: 140.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/5.808, allocations: 0 / 2.957 GB, free: 140.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/5.808, allocations: 385.3 kB / 2.957 GB, free: 140.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/5.81, allocations: 442.9 kB / 2.957 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/5.814, allocations: 2.278 MB / 2.96 GB, free: 137.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/5.815, allocations: 1.12 MB / 2.961 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001201/5.816, allocations: 481.4 kB / 2.961 GB, free: 135.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/5.816, allocations: 335.3 kB / 2.961 GB, free: 135.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.32e-07/5.816, allocations: 0 / 2.961 GB, free: 135.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/5.875, allocations: 33.53 MB / 2.994 GB, free: 102 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/5.875, allocations: 195.3 kB / 2.994 GB, free: 101.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/9.009, allocations: 0 / 2.994 GB, free: 101.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat