Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.4/2.4, allocations: 390.5 MB / 398 MB, free: 10.97 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.00113/0.00113, allocations: 184.5 kB / 491.2 MB, free: 1.57 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.3 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.0009414/0.0009415, allocations: 95.53 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.465e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.697/6.03, allocations: 1.931 GB / 3.143 GB, free: 398.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/6.031, allocations: 83.95 kB / 3.143 GB, free: 398.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.205/8.235, allocations: 0.5937 GB / 3.737 GB, free: 231.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.096e-06/8.235, allocations: 0 / 3.737 GB, free: 231.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000136/8.236, allocations: 27.2 kB / 3.737 GB, free: 231.7 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.003597/8.239, allocations: 1.135 MB / 3.738 GB, free: 230.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/8.239, allocations: 12.03 kB / 3.738 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/8.241, allocations: 210.6 kB / 3.738 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/8.243, allocations: 0.6668 MB / 3.739 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/8.243, allocations: 20 kB / 3.739 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/8.243, allocations: 55.91 kB / 3.739 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/8.244, allocations: 0.5037 MB / 3.739 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/8.246, allocations: 0.7887 MB / 3.74 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/8.246, allocations: 3.938 kB / 3.74 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/8.246, allocations: 4 kB / 3.74 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/8.246, allocations: 25.31 kB / 3.74 GB, free: 228.1 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.00474/8.251, allocations: 4.399 MB / 3.745 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/8.251, allocations: 420.2 kB / 3.745 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/8.252, allocations: 213 kB / 3.745 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/8.252, allocations: 104.7 kB / 3.745 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/8.252, allocations: 50.48 kB / 3.745 GB, free: 222.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/8.252, allocations: 0 / 3.745 GB, free: 222.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002726/8.255, allocations: 1.313 MB / 3.747 GB, free: 221.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/8.255, allocations: 106.8 kB / 3.747 GB, free: 221.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/8.255, allocations: 438.4 kB / 3.747 GB, free: 220.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/8.255, allocations: 25.7 kB / 3.747 GB, free: 220.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/8.256, allocations: 431 kB / 3.747 GB, free: 220.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/8.256, allocations: 157.7 kB / 3.748 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/8.256, allocations: 3.938 kB / 3.748 GB, free: 220.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001218/8.256, allocations: 370.8 kB / 3.748 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/8.256, allocations: 165.5 kB / 3.748 GB, free: 219.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/8.257, allocations: 395.4 kB / 3.749 GB, free: 219.1 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.001531/8.258, allocations: 0.6428 MB / 3.749 GB, free: 218.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/8.258, allocations: 0 / 3.749 GB, free: 218.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008738/8.259, allocations: 0.5779 MB / 3.75 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/8.259, allocations: 8 kB / 3.75 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.259, allocations: 11.44 kB / 3.75 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/8.259, allocations: 12 kB / 3.75 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/8.26, allocations: 124.5 kB / 3.75 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/8.26, allocations: 23.81 kB / 3.75 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/8.26, allocations: 43.81 kB / 3.75 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/8.26, allocations: 28 kB / 3.75 GB, free: 217.6 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.0001596/8.261, allocations: 128.8 kB / 3.75 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000614/8.261, allocations: 421.8 kB / 3.75 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/8.261, allocations: 63.25 kB / 3.751 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/8.261, allocations: 74.3 kB / 3.751 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/8.261, allocations: 4 kB / 3.751 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/8.262, allocations: 0 / 3.751 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005236/8.262, allocations: 0.6639 MB / 3.751 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/8.264, allocations: 1.47 MB / 3.753 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/8.264, allocations: 4 kB / 3.753 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/8.265, allocations: 91.89 kB / 3.753 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/8.265, allocations: 11.94 kB / 3.753 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/8.265, allocations: 12.47 kB / 3.753 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/8.265, allocations: 8 kB / 3.753 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/8.265, allocations: 4 kB / 3.753 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009452/8.266, allocations: 0.9683 MB / 3.754 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/8.266, allocations: 196.2 kB / 3.754 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/8.266, allocations: 7.984 kB / 3.754 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/8.267, allocations: 35.86 kB / 3.754 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/8.267, allocations: 36 kB / 3.754 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/8.267, allocations: 16 kB / 3.754 GB, free: 213 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003557/8.267, allocations: 334.9 kB / 3.754 GB, free: 212.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.267, allocations: 0 / 3.754 GB, free: 212.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001316/8.268, allocations: 291.7 kB / 3.755 GB, free: 212.4 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.004685/8.273, allocations: 4.314 MB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007413/8.274, allocations: 420.1 kB / 3.759 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/8.274, allocations: 0 / 3.759 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/8.274, allocations: 194.1 kB / 3.759 GB, free: 207.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/8.276, allocations: 295.4 kB / 3.76 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/8.279, allocations: 1.463 MB / 3.761 GB, free: 205.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/8.279, allocations: 1.035 MB / 3.762 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007143/8.28, allocations: 173.2 kB / 3.762 GB, free: 204.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/8.281, allocations: 287.3 kB / 3.763 GB, free: 204.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/8.281, allocations: 0 / 3.763 GB, free: 204.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06622/8.347, allocations: 29.18 MB / 3.791 GB, free: 175.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/8.347, allocations: 213.2 kB / 3.791 GB, free: 174.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/11.54, allocations: 2.391 kB / 3.791 GB, free: 174.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat