Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.92 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.001067/0.001067, allocations: 180.3 kB / 491.2 MB, free: 1.602 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001149/0.001149, allocations: 91.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.925e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/6.699, allocations: 1.92 GB / 3.132 GB, free: 344 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/6.699, allocations: 87.78 kB / 3.133 GB, free: 344 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.924/8.623, allocations: 0.5659 GB / 3.698 GB, free: 224.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.674e-06/8.623, allocations: 0 / 3.698 GB, free: 224.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000118/8.624, allocations: 31.84 kB / 3.698 GB, free: 224.8 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003399/8.627, allocations: 1.242 MB / 3.7 GB, free: 223.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/8.627, allocations: 8.031 kB / 3.7 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/8.629, allocations: 323.9 kB / 3.7 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/8.631, allocations: 0.7997 MB / 3.701 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/8.631, allocations: 105.9 kB / 3.701 GB, free: 222.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/8.632, allocations: 48 kB / 3.701 GB, free: 222.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/8.633, allocations: 0.6872 MB / 3.702 GB, free: 221.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/8.634, allocations: 0.8669 MB / 3.702 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/8.635, allocations: 0 / 3.702 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/8.635, allocations: 11.98 kB / 3.702 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/8.635, allocations: 30 kB / 3.702 GB, free: 220.6 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.005071/8.64, allocations: 3.808 MB / 3.706 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/8.64, allocations: 341.2 kB / 3.706 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/8.64, allocations: 196.7 kB / 3.707 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/8.641, allocations: 104.9 kB / 3.707 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/8.641, allocations: 46.55 kB / 3.707 GB, free: 215.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.045e-06/8.641, allocations: 3.984 kB / 3.707 GB, free: 215.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002166/8.643, allocations: 1.079 MB / 3.708 GB, free: 214.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/8.643, allocations: 55.41 kB / 3.708 GB, free: 214.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/8.644, allocations: 0.5583 MB / 3.708 GB, free: 214.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/8.644, allocations: 29.7 kB / 3.709 GB, free: 214 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/8.644, allocations: 0.4944 MB / 3.709 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.75e-05/8.644, allocations: 138 kB / 3.709 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/8.644, allocations: 0 / 3.709 GB, free: 213.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001043/8.644, allocations: 378.8 kB / 3.709 GB, free: 213 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/8.644, allocations: 189.5 kB / 3.71 GB, free: 212.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/8.645, allocations: 353.9 kB / 3.71 GB, free: 212.4 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/8.646, allocations: 0.6937 MB / 3.711 GB, free: 211.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/8.646, allocations: 4 kB / 3.711 GB, free: 211.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008738/8.647, allocations: 0.6168 MB / 3.711 GB, free: 211.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/8.647, allocations: 9.562 kB / 3.711 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/8.647, allocations: 8 kB / 3.711 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/8.647, allocations: 8.625 kB / 3.711 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/8.648, allocations: 143.8 kB / 3.711 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/8.648, allocations: 8 kB / 3.711 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/8.649, allocations: 87.77 kB / 3.712 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/8.649, allocations: 24 kB / 3.712 GB, free: 210.8 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001463/8.649, allocations: 122.5 kB / 3.712 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000507/8.65, allocations: 400.1 kB / 3.712 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/8.65, allocations: 71.16 kB / 3.712 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/8.65, allocations: 91.16 kB / 3.712 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/8.65, allocations: 4 kB / 3.712 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.65, allocations: 0 / 3.712 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004386/8.65, allocations: 0.6404 MB / 3.713 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/8.652, allocations: 1.428 MB / 3.714 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/8.652, allocations: 7.938 kB / 3.714 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/8.653, allocations: 87.89 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/8.653, allocations: 7.953 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/8.653, allocations: 8 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/8.653, allocations: 11.92 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/8.653, allocations: 4 kB / 3.714 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/8.654, allocations: 0.9537 MB / 3.715 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/8.654, allocations: 204.2 kB / 3.715 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/8.654, allocations: 16 kB / 3.716 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/8.655, allocations: 47.86 kB / 3.716 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/8.655, allocations: 39.86 kB / 3.716 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/8.655, allocations: 27.98 kB / 3.716 GB, free: 206.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004566/8.655, allocations: 435.1 kB / 3.716 GB, free: 205.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/8.655, allocations: 0 / 3.716 GB, free: 205.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00119/8.657, allocations: 327.3 kB / 3.716 GB, free: 205.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.003019/8.66, allocations: 4.001 MB / 3.72 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006741/8.66, allocations: 428.4 kB / 3.721 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/8.66, allocations: 3.938 kB / 3.721 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/8.661, allocations: 175.9 kB / 3.721 GB, free: 200.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/8.663, allocations: 406.2 kB / 3.721 GB, free: 200.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/8.666, allocations: 1.585 MB / 3.723 GB, free: 198.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/8.666, allocations: 1.117 MB / 3.724 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007953/8.667, allocations: 202 kB / 3.724 GB, free: 197.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/8.667, allocations: 339.3 kB / 3.724 GB, free: 197.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.273e-06/8.667, allocations: 0 / 3.724 GB, free: 197.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/8.727, allocations: 30.07 MB / 3.754 GB, free: 167.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/8.727, allocations: 192.3 kB / 3.754 GB, free: 167.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/11.67, allocations: 4.031 kB / 3.754 GB, free: 167.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat