Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001007/0.001007, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.455/1.455, allocations: 221.5 MB / 0.7824 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009575, allocations: 102.9 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.313/5.588, allocations: 1.93 GB / 3.136 GB, free: 349 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/5.588, allocations: 84.55 kB / 3.136 GB, free: 349 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/7.364, allocations: 0.5937 GB / 3.73 GB, free: 217.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.066e-06/7.365, allocations: 0 / 3.73 GB, free: 217.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.552e-05/7.365, allocations: 31.64 kB / 3.73 GB, free: 217.4 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002021/7.367, allocations: 1.135 MB / 3.731 GB, free: 216.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/7.367, allocations: 8.562 kB / 3.731 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/7.368, allocations: 210.6 kB / 3.731 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/7.369, allocations: 0.6796 MB / 3.732 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/7.369, allocations: 24 kB / 3.732 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/7.369, allocations: 44 kB / 3.732 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000782/7.37, allocations: 0.5076 MB / 3.732 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/7.371, allocations: 0.7825 MB / 3.733 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/7.371, allocations: 3.938 kB / 3.733 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/7.371, allocations: 7.984 kB / 3.733 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/7.371, allocations: 36.8 kB / 3.733 GB, free: 213.8 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.00312/7.374, allocations: 4.382 MB / 3.737 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/7.375, allocations: 424.2 kB / 3.738 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/7.375, allocations: 221.2 kB / 3.738 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/7.375, allocations: 105.1 kB / 3.738 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/7.375, allocations: 38.56 kB / 3.738 GB, free: 208.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/7.375, allocations: 0 / 3.738 GB, free: 208.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001968/7.377, allocations: 1.321 MB / 3.739 GB, free: 207 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/7.377, allocations: 114.8 kB / 3.74 GB, free: 206.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/7.377, allocations: 430.3 kB / 3.74 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/7.378, allocations: 25.7 kB / 3.74 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/7.378, allocations: 435.1 kB / 3.74 GB, free: 205.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/7.378, allocations: 153.7 kB / 3.741 GB, free: 205.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/7.378, allocations: 0 / 3.741 GB, free: 205.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/7.378, allocations: 378.8 kB / 3.741 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/7.378, allocations: 161.5 kB / 3.741 GB, free: 205.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/7.378, allocations: 399.3 kB / 3.741 GB, free: 204.8 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/7.38, allocations: 0.6421 MB / 3.742 GB, free: 204.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/7.38, allocations: 7.938 kB / 3.742 GB, free: 204.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007194/7.381, allocations: 0.5754 MB / 3.743 GB, free: 203.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/7.381, allocations: 8 kB / 3.743 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/7.381, allocations: 8 kB / 3.743 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/7.381, allocations: 8 kB / 3.743 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/7.381, allocations: 123.8 kB / 3.743 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/7.381, allocations: 19.95 kB / 3.743 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/7.382, allocations: 44.03 kB / 3.743 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/7.382, allocations: 31.98 kB / 3.743 GB, free: 203.3 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/7.382, allocations: 133.6 kB / 3.743 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000515/7.382, allocations: 413.8 kB / 3.743 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/7.383, allocations: 63.25 kB / 3.743 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/7.383, allocations: 78.3 kB / 3.743 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/7.383, allocations: 4 kB / 3.743 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.383, allocations: 0 / 3.743 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004466/7.383, allocations: 0.6601 MB / 3.744 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/7.385, allocations: 1.468 MB / 3.746 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/7.385, allocations: 7.938 kB / 3.746 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/7.385, allocations: 103.8 kB / 3.746 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/7.385, allocations: 4 kB / 3.746 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/7.385, allocations: 8 kB / 3.746 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/7.385, allocations: 7.984 kB / 3.746 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/7.385, allocations: 11.94 kB / 3.746 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/7.386, allocations: 0.982 MB / 3.747 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/7.386, allocations: 184.3 kB / 3.747 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/7.386, allocations: 7.984 kB / 3.747 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/7.387, allocations: 31.92 kB / 3.747 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/7.387, allocations: 39.84 kB / 3.747 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/7.387, allocations: 20 kB / 3.747 GB, free: 198.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002734/7.387, allocations: 326.9 kB / 3.747 GB, free: 198.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.71e-07/7.387, allocations: 448 / 3.747 GB, free: 198.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009741/7.388, allocations: 300 kB / 3.748 GB, free: 198.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002965/7.391, allocations: 4.289 MB / 3.752 GB, free: 193.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000586/7.392, allocations: 433 kB / 3.752 GB, free: 193.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/7.392, allocations: 4 kB / 3.752 GB, free: 193.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/7.392, allocations: 187.7 kB / 3.752 GB, free: 193 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/7.393, allocations: 319 kB / 3.753 GB, free: 192.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/7.396, allocations: 1.453 MB / 3.754 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/7.396, allocations: 1.047 MB / 3.755 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005171/7.397, allocations: 161.2 kB / 3.755 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/7.397, allocations: 287.3 kB / 3.755 GB, free: 189.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/7.397, allocations: 4 kB / 3.755 GB, free: 189.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/7.446, allocations: 29.15 MB / 3.784 GB, free: 160.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/7.446, allocations: 211 kB / 3.784 GB, free: 160.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/10.43, allocations: 4.578 kB / 3.784 GB, free: 160.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat