Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 194.1 kB / 16.25 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.05 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5234, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.165/0.6884, allocations: 188 MB / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007527/0.696, allocations: 5.66 MB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.6971, allocations: 35.75 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.6984, allocations: 0.5131 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.7018, allocations: 1.521 MB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.7045, allocations: 1.095 MB / 1.141 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.7076, allocations: 2.553 MB / 1.144 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.709, allocations: 1.008 MB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.7111, allocations: 1.047 MB / 1.146 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.7132, allocations: 0.9035 MB / 1.147 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.7134, allocations: 112 kB / 1.147 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.716, allocations: 1.625 MB / 1.149 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.7165, allocations: 0.4987 MB / 1.149 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008556/0.7174, allocations: 0.6456 MB / 1.15 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.7201, allocations: 2.236 MB / 1.152 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7201, allocations: 0 / 1.152 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7201, allocations: 0 / 1.152 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.389e-05/0.7202, allocations: 3.938 kB / 1.152 GB, free: 1.918 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00262/0.7228, allocations: 1.523 MB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7228, allocations: 16.02 kB / 1.153 GB, free: 336 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.723, allocations: 139.3 kB / 1.153 GB, free: 188 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.726, allocations: 474.1 kB / 1.154 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.7273, allocations: 0.8162 MB / 1.155 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.7277, allocations: 121.9 kB / 1.155 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.7278, allocations: 91.94 kB / 1.155 GB, free: 14.65 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.7301, allocations: 1.175 MB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.7301, allocations: 3.938 kB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.7302, allocations: 40 kB / 1.156 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.7303, allocations: 37.98 kB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.7325, allocations: 1.077 MB / 1.157 GB, free: 12.29 MB / 0.92 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.006465/0.739, allocations: 4.354 MB / 1.161 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.7409, allocations: 0.7561 MB / 1.162 GB, free: 6.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.7417, allocations: 409.9 kB / 1.163 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.7419, allocations: 101.1 kB / 1.163 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.742, allocations: 46.56 kB / 1.163 GB, free: 6.332 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.742, allocations: 0 / 1.163 GB, free: 6.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.005353/0.7473, allocations: 2.209 MB / 1.165 GB, free: 4.066 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.7474, allocations: 55.41 kB / 1.165 GB, free: 4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/0.7483, allocations: 0.8647 MB / 1.166 GB, free: 3.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.7483, allocations: 33.7 kB / 1.166 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.7486, allocations: 491.3 kB / 1.166 GB, free: 2.605 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7488, allocations: 169.7 kB / 1.166 GB, free: 2.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.749, allocations: 122.2 kB / 1.167 GB, free: 2.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.7491, allocations: 330 kB / 1.167 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/0.75, allocations: 381 kB / 1.167 GB, free: 1.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.7509, allocations: 0.5013 MB / 1.168 GB, free: 1.059 MB / 0.92 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.005656/0.7566, allocations: 2.293 MB / 1.17 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7566, allocations: 0 / 1.17 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002151/0.7587, allocations: 0.9938 MB / 1.171 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7588, allocations: 4 kB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7588, allocations: 4.125 kB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7588, allocations: 15.94 kB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.7597, allocations: 191.7 kB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.7597, allocations: 11.94 kB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.7608, allocations: 103.7 kB / 1.171 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.7608, allocations: 31.98 kB / 1.171 GB, free: 13.33 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.7612, allocations: 317.5 kB / 1.172 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.7614, allocations: 90.97 kB / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.7616, allocations: 104.7 kB / 1.172 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7616, allocations: 8 kB / 1.172 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7616, allocations: 4 kB / 1.172 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/0.7634, allocations: 1.038 MB / 1.173 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.7677, allocations: 2.156 MB / 1.175 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7677, allocations: 4 kB / 1.175 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.7686, allocations: 168.1 kB / 1.175 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7686, allocations: 7.938 kB / 1.175 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.7686, allocations: 19.98 kB / 1.175 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.7687, allocations: 11.94 kB / 1.175 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7687, allocations: 4 kB / 1.175 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.7715, allocations: 1.433 MB / 1.176 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.7719, allocations: 255.9 kB / 1.177 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.772, allocations: 12 kB / 1.177 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.773, allocations: 111.4 kB / 1.177 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.773, allocations: 31.97 kB / 1.177 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.7731, allocations: 31.97 kB / 1.177 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006497/0.7738, allocations: 0.6005 MB / 1.178 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7738, allocations: 0 / 1.178 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007338/0.7745, allocations: 268 kB / 1.178 GB, free: 6.426 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003418/0.7779, allocations: 2.089 MB / 1.18 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.78, allocations: 0.8813 MB / 1.181 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.78, allocations: 0 / 1.181 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.7809, allocations: 401 kB / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.7832, allocations: 0.5791 MB / 1.182 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.7971, allocations: 8.882 MB / 1.19 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.7977, allocations: 1.11 MB / 1.191 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008859/0.7986, allocations: 263.8 kB / 1.192 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.7991, allocations: 355.3 kB / 1.192 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7991, allocations: 3.938 kB / 1.192 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7332/1.532, allocations: 28.28 MB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003897/1.533, allocations: 311.1 kB / 1.22 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/4.173, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches