Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.308/2.308, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001123/0.001123, allocations: 180.8 kB / 487.4 MB, free: 5.016 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.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.001084/0.001084, allocations: 95.91 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/5.498, allocations: 1.929 GB / 3.135 GB, free: 349.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/5.499, allocations: 89.14 kB / 3.135 GB, free: 349.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/7.275, allocations: 0.6075 GB / 3.743 GB, free: 204.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/7.275, allocations: 0 / 3.743 GB, free: 204.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.221e-05/7.275, allocations: 27.92 kB / 3.743 GB, free: 204.1 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001836/7.277, allocations: 1.036 MB / 3.744 GB, free: 203 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/7.277, allocations: 16.02 kB / 3.744 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/7.278, allocations: 188.2 kB / 3.744 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/7.279, allocations: 0.5272 MB / 3.744 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/7.279, allocations: 101.2 kB / 3.744 GB, free: 202.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/7.279, allocations: 35.94 kB / 3.744 GB, free: 202.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005132/7.28, allocations: 322.5 kB / 3.745 GB, free: 201.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/7.281, allocations: 0.6327 MB / 3.745 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/7.281, allocations: 3.938 kB / 3.745 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/7.281, allocations: 4 kB / 3.745 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/7.281, allocations: 24.78 kB / 3.745 GB, free: 201 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.002695/7.283, allocations: 4.019 MB / 3.749 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/7.284, allocations: 102.5 kB / 3.749 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/7.284, allocations: 67.41 kB / 3.749 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/7.284, allocations: 93.09 kB / 3.75 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/7.284, allocations: 46.44 kB / 3.75 GB, free: 196.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/7.284, allocations: 0 / 3.75 GB, free: 196.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004216/7.284, allocations: 157 kB / 3.75 GB, free: 196.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/7.284, allocations: 136.5 kB / 3.75 GB, free: 196.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/7.285, allocations: 446.2 kB / 3.75 GB, free: 195.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/7.285, allocations: 25.7 kB / 3.75 GB, free: 195.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/7.285, allocations: 418.8 kB / 3.751 GB, free: 195.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/7.285, allocations: 39.55 kB / 3.751 GB, free: 195.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/7.285, allocations: 0 / 3.751 GB, free: 195.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/7.285, allocations: 358.8 kB / 3.751 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/7.285, allocations: 71.97 kB / 3.751 GB, free: 194.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/7.285, allocations: 311.7 kB / 3.751 GB, free: 194.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/7.286, allocations: 127.8 kB / 3.752 GB, free: 194.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/7.286, allocations: 4 kB / 3.752 GB, free: 194.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000468/7.286, allocations: 381.3 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/7.286, allocations: 8 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/7.286, allocations: 8.078 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/7.286, allocations: 15.92 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/7.286, allocations: 91.89 kB / 3.752 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/7.286, allocations: 19.92 kB / 3.752 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/7.287, allocations: 95.53 kB / 3.752 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/7.287, allocations: 20 kB / 3.752 GB, free: 193.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001145/7.287, allocations: 127.3 kB / 3.752 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002089/7.287, allocations: 153 kB / 3.752 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/7.287, allocations: 55.41 kB / 3.752 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/7.288, allocations: 48.25 kB / 3.753 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/7.288, allocations: 4 kB / 3.753 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.288, allocations: 4.062 kB / 3.753 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/7.288, allocations: 4 kB / 3.753 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/7.289, allocations: 1.031 MB / 3.754 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/7.289, allocations: 4 kB / 3.754 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/7.289, allocations: 19.92 kB / 3.754 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/7.289, allocations: 4 kB / 3.754 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/7.289, allocations: 12.25 kB / 3.754 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/7.289, allocations: 4 kB / 3.754 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/7.289, allocations: 7.891 kB / 3.754 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/7.289, allocations: 335.6 kB / 3.754 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/7.289, allocations: 148.4 kB / 3.754 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/7.289, allocations: 4 kB / 3.754 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/7.289, allocations: 19.98 kB / 3.754 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/7.289, allocations: 15.92 kB / 3.754 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/7.289, allocations: 7.953 kB / 3.754 GB, free: 191.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002977/7.29, allocations: 338.9 kB / 3.754 GB, free: 191 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/7.29, allocations: 0 / 3.754 GB, free: 191 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009777/7.291, allocations: 291.4 kB / 3.755 GB, free: 190.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002773/7.294, allocations: 3.329 MB / 3.758 GB, free: 187.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003387/7.294, allocations: 176.4 kB / 3.758 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.294, allocations: 0 / 3.758 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/7.294, allocations: 43.91 kB / 3.758 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/7.295, allocations: 208.5 kB / 3.758 GB, free: 186.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/7.296, allocations: 0.8618 MB / 3.759 GB, free: 185.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/7.297, allocations: 0.9517 MB / 3.76 GB, free: 184.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003419/7.297, allocations: 100.3 kB / 3.76 GB, free: 184.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/7.297, allocations: 215.4 kB / 3.76 GB, free: 184.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/7.297, allocations: 0 / 3.76 GB, free: 184.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/7.342, allocations: 24.5 MB / 3.784 GB, free: 160.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/7.342, allocations: 203.6 kB / 3.785 GB, free: 160 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/10.04, allocations: 0 / 3.785 GB, free: 160 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat