Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001321/0.001321, allocations: 178.9 kB / 498.1 MB, free: 5.738 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.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001025/0.001025, allocations: 112.2 kB / 0.9346 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 11 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.193/2.512, allocations: 0.8139 GB / 2.037 GB, free: 308.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/2.513, allocations: 95.94 kB / 2.037 GB, free: 308.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.247/5.76, allocations: 0.9109 GB / 2.948 GB, free: 282.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/5.76, allocations: 0 / 2.948 GB, free: 282.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001338/5.76, allocations: 25.91 kB / 2.948 GB, free: 282.5 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.004998/5.765, allocations: 1.425 MB / 2.949 GB, free: 281.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/5.765, allocations: 7.781 kB / 2.949 GB, free: 281.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005302/5.765, allocations: 143.8 kB / 2.949 GB, free: 281.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/5.768, allocations: 443.2 kB / 2.95 GB, free: 281.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/5.771, allocations: 0.9961 MB / 2.951 GB, free: 280.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/5.771, allocations: 71.27 kB / 2.951 GB, free: 280.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/5.772, allocations: 88.34 kB / 2.951 GB, free: 280.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/5.774, allocations: 1.005 MB / 2.952 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/5.774, allocations: 0 / 2.952 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/5.774, allocations: 43.66 kB / 2.952 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/5.774, allocations: 34.95 kB / 2.952 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/5.776, allocations: 0.9216 MB / 2.953 GB, free: 279.1 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.005582/5.781, allocations: 3.608 MB / 2.956 GB, free: 275.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/5.782, allocations: 0.7204 MB / 2.957 GB, free: 274.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/5.783, allocations: 210.3 kB / 2.957 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/5.783, allocations: 43.12 kB / 2.957 GB, free: 274.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/5.783, allocations: 0 / 2.957 GB, free: 274.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002444/5.785, allocations: 1.218 MB / 2.959 GB, free: 273.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/5.785, allocations: 55.97 kB / 2.959 GB, free: 273 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/5.786, allocations: 0.6402 MB / 2.959 GB, free: 272.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/5.786, allocations: 45 kB / 2.959 GB, free: 272.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/5.786, allocations: 416.1 kB / 2.96 GB, free: 271.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/5.787, allocations: 220.5 kB / 2.96 GB, free: 271.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/5.787, allocations: 12 kB / 2.96 GB, free: 271.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001315/5.787, allocations: 390.8 kB / 2.96 GB, free: 271.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/5.787, allocations: 297.1 kB / 2.961 GB, free: 271 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/5.788, allocations: 410.1 kB / 2.961 GB, free: 270.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/5.788, allocations: 369.9 kB / 2.961 GB, free: 270.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/5.788, allocations: 3.625 kB / 2.961 GB, free: 270.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001164/5.789, allocations: 0.8221 MB / 2.962 GB, free: 269.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/5.789, allocations: 454.7 kB / 2.963 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/5.789, allocations: 0 / 2.963 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/5.79, allocations: 4 kB / 2.963 GB, free: 268.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/5.79, allocations: 135.8 kB / 2.963 GB, free: 268.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/5.791, allocations: 0.5975 MB / 2.963 GB, free: 268.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/5.792, allocations: 145.7 kB / 2.963 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/5.792, allocations: 32 kB / 2.963 GB, free: 268 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/5.792, allocations: 8.734 kB / 2.963 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009606/5.793, allocations: 0.7391 MB / 2.964 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/5.793, allocations: 0 / 2.964 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/5.793, allocations: 11.92 kB / 2.964 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/5.793, allocations: 134.5 kB / 2.964 GB, free: 267.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/5.793, allocations: 4 kB / 2.964 GB, free: 267.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/5.794, allocations: 137.5 kB / 2.964 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/5.794, allocations: 32 kB / 2.964 GB, free: 266.9 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 () * Number of clocked 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.0007026/5.795, allocations: 416.8 kB / 2.965 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/5.795, allocations: 79.02 kB / 2.965 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/5.796, allocations: 0.8664 MB / 2.966 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/5.796, allocations: 11.98 kB / 2.966 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/5.796, allocations: 0 / 2.966 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009105/5.797, allocations: 0.7997 MB / 2.967 GB, free: 264.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/5.801, allocations: 2.534 MB / 2.969 GB, free: 262.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/5.801, allocations: 7.953 kB / 2.969 GB, free: 262.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/5.802, allocations: 142.6 kB / 2.969 GB, free: 261.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/5.802, allocations: 44.83 kB / 2.969 GB, free: 261.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/5.802, allocations: 27.98 kB / 2.969 GB, free: 261.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005529/5.803, allocations: 1.185 MB / 2.97 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/5.803, allocations: 4 kB / 2.97 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/5.804, allocations: 1.499 MB / 2.972 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/5.805, allocations: 267.9 kB / 2.972 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/5.805, allocations: 20 kB / 2.972 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/5.806, allocations: 82.8 kB / 2.972 GB, free: 258.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/5.806, allocations: 48.33 kB / 2.972 GB, free: 258.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/5.806, allocations: 35.98 kB / 2.972 GB, free: 258.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007136/5.807, allocations: 0.5139 MB / 2.973 GB, free: 258 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/5.807, allocations: 0 / 2.973 GB, free: 258 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002939/5.81, allocations: 0.8343 MB / 2.974 GB, free: 257.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 () * Number of clocked 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.005289/5.815, allocations: 4.192 MB / 2.978 GB, free: 253.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001957/5.817, allocations: 1.164 MB / 2.979 GB, free: 252.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/5.817, allocations: 0 / 2.979 GB, free: 252.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/5.818, allocations: 409.2 kB / 2.979 GB, free: 251.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/5.821, allocations: 0.5139 MB / 2.98 GB, free: 251.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/5.832, allocations: 6.924 MB / 2.987 GB, free: 244.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008207/5.832, allocations: 1.117 MB / 2.988 GB, free: 243.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001322/5.834, allocations: 426.3 kB / 2.988 GB, free: 243 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/5.834, allocations: 347.3 kB / 2.988 GB, free: 242.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/5.834, allocations: 0 / 2.988 GB, free: 242.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07134/5.906, allocations: 44.85 MB / 3.032 GB, free: 198.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/5.906, allocations: 265.6 kB / 3.032 GB, free: 198.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/9.526, allocations: 0 / 3.032 GB, free: 198.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat