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.007168/0.007168, allocations: 102.7 kB / 15.74 MB, free: 6.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.001727/0.001727, allocations: 199 kB / 16.68 MB, free: 6.375 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.29/2.29, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.77 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 140.4 MB / 1.088 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.714/0.955, allocations: 190.5 MB / 1.274 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008531/0.9635, allocations: 5.712 MB / 1.279 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.9648, allocations: 41.09 kB / 1.279 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.9666, allocations: 0.5883 MB / 1.28 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.9727, allocations: 1.674 MB / 1.281 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.977, allocations: 1.223 MB / 1.283 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005137/0.9822, allocations: 2.563 MB / 1.285 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.9841, allocations: 1.035 MB / 1.286 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.987, allocations: 1.086 MB / 1.287 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.9892, allocations: 0.8566 MB / 1.288 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.9894, allocations: 109.5 kB / 1.288 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.9932, allocations: 1.56 MB / 1.29 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000646/0.9938, allocations: 0.4924 MB / 1.29 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.9947, allocations: 0.6406 MB / 1.291 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.9987, allocations: 2.182 MB / 1.293 GB, free: 2.746 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9987, allocations: 0.6094 kB / 1.293 GB, free: 2.746 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9987, allocations: 1.781 kB / 1.293 GB, free: 2.746 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.9988, allocations: 0.9688 kB / 1.293 GB, free: 2.746 MB / 1.014 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.00261/1.001, allocations: 1.559 MB / 1.294 GB, free: 1.914 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.001, allocations: 9 kB / 1.294 GB, free: 1.914 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/1.002, allocations: 139.6 kB / 1.294 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/1.005, allocations: 480.9 kB / 1.295 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.006, allocations: 0.8681 MB / 1.296 GB, free: 1.473 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/1.007, allocations: 64.81 kB / 1.296 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/1.007, allocations: 88.27 kB / 1.296 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/1.009, allocations: 1.173 MB / 1.297 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.009, allocations: 0.75 kB / 1.297 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.009, allocations: 38.36 kB / 1.297 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/1.009, allocations: 34.67 kB / 1.297 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.012, allocations: 1.07 MB / 1.298 GB, free: 1.355 MB / 1.014 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.006967/1.019, allocations: 4.324 MB / 1.302 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/1.021, allocations: 0.7477 MB / 1.303 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009067/1.021, allocations: 410.2 kB / 1.304 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.022, allocations: 101.5 kB / 1.304 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.022, allocations: 43.06 kB / 1.304 GB, free: 15.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/1.022, allocations: 2.125 kB / 1.304 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.005939/1.028, allocations: 2.187 MB / 1.306 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.028, allocations: 56.72 kB / 1.306 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.029, allocations: 0.8675 MB / 1.307 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/1.029, allocations: 40.33 kB / 1.307 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/1.029, allocations: 0.4987 MB / 1.307 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/1.029, allocations: 163.6 kB / 1.307 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/1.03, allocations: 125.1 kB / 1.308 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.03, allocations: 336.9 kB / 1.308 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009357/1.031, allocations: 371.7 kB / 1.308 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.032, allocations: 0.494 MB / 1.309 GB, free: 13.87 MB / 1.029 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.006233/1.038, allocations: 2.261 MB / 1.311 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.038, allocations: 0.9375 kB / 1.311 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002393/1.04, allocations: 0.9935 MB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.04, allocations: 8.656 kB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.04, allocations: 3.625 kB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.04, allocations: 7 kB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/1.041, allocations: 197.6 kB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.041, allocations: 9.812 kB / 1.312 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.043, allocations: 65.98 kB / 1.312 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/1.043, allocations: 29.22 kB / 1.312 GB, free: 13.47 MB / 1.029 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.00055/1.043, allocations: 316.9 kB / 1.312 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/1.043, allocations: 102.7 kB / 1.313 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/1.044, allocations: 106.4 kB / 1.313 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.044, allocations: 4.469 kB / 1.313 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.044, allocations: 5.766 kB / 1.313 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001976/1.046, allocations: 1.021 MB / 1.314 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/1.05, allocations: 2.147 MB / 1.316 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.05, allocations: 3.156 kB / 1.316 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/1.051, allocations: 165 kB / 1.316 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.051, allocations: 5.5 kB / 1.316 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/1.051, allocations: 16.75 kB / 1.316 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.051, allocations: 11.06 kB / 1.316 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.051, allocations: 7.219 kB / 1.316 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/1.054, allocations: 1.412 MB / 1.317 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/1.055, allocations: 257.6 kB / 1.318 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.055, allocations: 16.81 kB / 1.318 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/1.056, allocations: 68.44 kB / 1.318 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/1.056, allocations: 37.73 kB / 1.318 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/1.056, allocations: 29.25 kB / 1.318 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000775/1.057, allocations: 0.6079 MB / 1.318 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.057, allocations: 0 / 1.318 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009636/1.058, allocations: 269.5 kB / 1.319 GB, free: 11.79 MB / 1.029 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.003664/1.062, allocations: 2.083 MB / 1.321 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.064, allocations: 0.8076 MB / 1.321 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.064, allocations: 0.75 kB / 1.321 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/1.065, allocations: 393.7 kB / 1.322 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.067, allocations: 0.5771 MB / 1.322 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.081, allocations: 8.215 MB / 1.33 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/1.082, allocations: 1.109 MB / 1.331 GB, free: 7.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001032/1.083, allocations: 259.1 kB / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/1.084, allocations: 360.3 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/1.084, allocations: 0 / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/1.139, allocations: 28.72 MB / 1.36 GB, free: 13.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/10.31, allocations: 448 / 1.36 GB, free: 13.5 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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