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.716/2.716, allocations: 393.5 MB / 408.4 MB, free: 11.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.001165/0.001165, allocations: 176 kB / 0.4901 GB, free: 2.328 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.877/1.877, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001182/0.001182, allocations: 96.33 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003989, allocations: 11.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.535, allocations: 1.921 GB / 3.15 GB, free: 32.05 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/5.535, allocations: 92.88 kB / 3.15 GB, free: 32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.271/8.806, allocations: 0.5728 GB / 3.723 GB, free: 298.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.186e-06/8.806, allocations: 0 / 3.723 GB, free: 298.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001787/8.806, allocations: 25.66 kB / 3.723 GB, free: 298.9 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006131/8.812, allocations: 1.387 MB / 3.724 GB, free: 298.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/8.812, allocations: 14.81 kB / 3.724 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008215/8.813, allocations: 134.7 kB / 3.725 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/8.816, allocations: 319.9 kB / 3.725 GB, free: 298.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/8.819, allocations: 0.7999 MB / 3.726 GB, free: 297.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/8.819, allocations: 131.6 kB / 3.726 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/8.82, allocations: 86.09 kB / 3.726 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/8.823, allocations: 1.043 MB / 3.727 GB, free: 297.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/8.823, allocations: 0 / 3.727 GB, free: 297.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/8.823, allocations: 42.78 kB / 3.727 GB, free: 297.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/8.823, allocations: 29.12 kB / 3.727 GB, free: 297.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/8.825, allocations: 0.8128 MB / 3.728 GB, free: 297.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.008156/8.833, allocations: 4.049 MB / 3.732 GB, free: 295.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/8.834, allocations: 368 kB / 3.732 GB, free: 295.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/8.834, allocations: 96.94 kB / 3.732 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/8.834, allocations: 43.72 kB / 3.732 GB, free: 295.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.949e-06/8.834, allocations: 0 / 3.732 GB, free: 295.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.003677/8.838, allocations: 1.31 MB / 3.733 GB, free: 295.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/8.838, allocations: 55 kB / 3.733 GB, free: 295.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/8.84, allocations: 0.8868 MB / 3.734 GB, free: 295 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/8.84, allocations: 38.98 kB / 3.734 GB, free: 295 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/8.841, allocations: 495.8 kB / 3.735 GB, free: 294.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/8.841, allocations: 134.3 kB / 3.735 GB, free: 294.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/8.841, allocations: 14.91 kB / 3.735 GB, free: 294.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001241/8.841, allocations: 329.7 kB / 3.735 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/8.842, allocations: 235.2 kB / 3.736 GB, free: 294.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/8.842, allocations: 406.1 kB / 3.736 GB, free: 294.2 MB / 1.167 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.002079/8.844, allocations: 0.7339 MB / 3.737 GB, free: 294.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/8.844, allocations: 0 / 3.737 GB, free: 294.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001789/8.846, allocations: 0.7556 MB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/8.846, allocations: 14.94 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/8.846, allocations: 3.656 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/8.846, allocations: 9.875 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/8.847, allocations: 138.7 kB / 3.738 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/8.847, allocations: 14.98 kB / 3.738 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/8.849, allocations: 97.45 kB / 3.738 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/8.849, allocations: 31.67 kB / 3.738 GB, free: 294 MB / 1.167 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 () * Number of clocked 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.0009354/8.85, allocations: 319.5 kB / 3.738 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/8.85, allocations: 99.66 kB / 3.738 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/8.851, allocations: 106.8 kB / 3.738 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/8.851, allocations: 3.844 kB / 3.738 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/8.851, allocations: 0 / 3.738 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000763/8.851, allocations: 0.6679 MB / 3.739 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/8.855, allocations: 1.586 MB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/8.855, allocations: 9.281 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/8.856, allocations: 83.48 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/8.856, allocations: 6.844 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/8.856, allocations: 10.88 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/8.856, allocations: 10.56 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/8.856, allocations: 3.688 kB / 3.74 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/8.857, allocations: 1.031 MB / 3.741 GB, free: 292.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/8.858, allocations: 239.3 kB / 3.742 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/8.858, allocations: 14.62 kB / 3.742 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/8.859, allocations: 59.5 kB / 3.742 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/8.86, allocations: 36.28 kB / 3.742 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/8.86, allocations: 28.97 kB / 3.742 GB, free: 292.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001232/8.861, allocations: 0.701 MB / 3.743 GB, free: 292.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/8.861, allocations: 0 / 3.743 GB, free: 292.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00202/8.863, allocations: 379.9 kB / 3.743 GB, free: 292.1 MB / 1.167 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 () * Number of clocked 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.00437/8.867, allocations: 3.874 MB / 3.747 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00123/8.869, allocations: 490.8 kB / 3.747 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/8.869, allocations: 0 / 3.747 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/8.869, allocations: 191 kB / 3.747 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/8.872, allocations: 0.5885 MB / 3.748 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/8.883, allocations: 8.955 MB / 3.757 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/8.884, allocations: 1.118 MB / 3.758 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001285/8.885, allocations: 240.7 kB / 3.758 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/8.885, allocations: 343.5 kB / 3.758 GB, free: 283.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.954e-06/8.885, allocations: 0 / 3.758 GB, free: 283.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09346/8.979, allocations: 47.39 MB / 3.805 GB, free: 274.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/8.979, allocations: 243.5 kB / 3.805 GB, free: 274.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/13.16, allocations: 0 / 3.805 GB, free: 274.5 MB / 1.167 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