Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.007433/0.007434, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.003251/0.003251, allocations: 194.2 kB / 16.67 MB, free: 6.348 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2636, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6693/0.9329, allocations: 190.5 MB / 1.406 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008769/0.9417, allocations: 5.725 MB / 1.412 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009041/0.9427, allocations: 41.19 kB / 1.412 GB, free: 11.3 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.944, allocations: 0.5627 MB / 1.412 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.9473, allocations: 1.616 MB / 1.414 GB, free: 9.574 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.95, allocations: 1.21 MB / 1.415 GB, free: 8.668 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002789/0.9528, allocations: 2.563 MB / 1.418 GB, free: 7.207 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.9539, allocations: 1.034 MB / 1.419 GB, free: 6.594 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.9554, allocations: 1.046 MB / 1.42 GB, free: 5.969 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.9568, allocations: 0.8497 MB / 1.421 GB, free: 5.473 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.957, allocations: 113.1 kB / 1.421 GB, free: 5.469 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.9595, allocations: 1.553 MB / 1.422 GB, free: 4.629 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.96, allocations: 0.4924 MB / 1.423 GB, free: 4.301 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.9606, allocations: 0.6422 MB / 1.423 GB, free: 3.887 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.9631, allocations: 2.188 MB / 1.425 GB, free: 2.484 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9631, allocations: 2.812 kB / 1.425 GB, free: 2.484 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9631, allocations: 0 / 1.425 GB, free: 2.484 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.9631, allocations: 0 / 1.425 GB, free: 2.484 MB / 1.107 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.002115/0.9652, allocations: 1.555 MB / 1.427 GB, free: 1.297 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.9653, allocations: 10.06 kB / 1.427 GB, free: 1.297 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.9654, allocations: 139.9 kB / 1.427 GB, free: 1.184 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.9681, allocations: 488.5 kB / 1.428 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.9694, allocations: 0.8619 MB / 1.428 GB, free: 236 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.9695, allocations: 66.75 kB / 1.428 GB, free: 172 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.9696, allocations: 87.94 kB / 1.429 GB, free: 84 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.9717, allocations: 1.175 MB / 1.43 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.9718, allocations: 0 / 1.43 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.9719, allocations: 39.91 kB / 1.43 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.9719, allocations: 34 kB / 1.43 GB, free: 14.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.9742, allocations: 1.069 MB / 1.431 GB, free: 13.74 MB / 1.123 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.006341/0.9806, allocations: 4.322 MB / 1.435 GB, free: 9.156 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.9825, allocations: 0.7449 MB / 1.436 GB, free: 8.402 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000926/0.9834, allocations: 412.4 kB / 1.436 GB, free: 7.996 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.9836, allocations: 101.1 kB / 1.436 GB, free: 7.879 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9836, allocations: 42.5 kB / 1.436 GB, free: 7.828 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.9836, allocations: 0 / 1.436 GB, free: 7.828 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.005451/0.9891, allocations: 2.192 MB / 1.438 GB, free: 5.586 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.9891, allocations: 59.34 kB / 1.438 GB, free: 5.516 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.9902, allocations: 0.8647 MB / 1.439 GB, free: 4.645 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.9902, allocations: 37.7 kB / 1.439 GB, free: 4.602 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.9906, allocations: 0.4924 MB / 1.44 GB, free: 4.102 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.9908, allocations: 170.6 kB / 1.44 GB, free: 3.934 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.991, allocations: 126.2 kB / 1.44 GB, free: 3.805 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9911, allocations: 330 kB / 1.44 GB, free: 3.477 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/0.992, allocations: 365 kB / 1.441 GB, free: 3.117 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.9931, allocations: 0.5063 MB / 1.441 GB, free: 2.562 MB / 1.123 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.005903/0.999, allocations: 2.255 MB / 1.443 GB, free: 248 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.999, allocations: 8 kB / 1.443 GB, free: 240 kB / 1.123 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002226/1.001, allocations: 0.9864 MB / 1.444 GB, free: 15.24 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.001, allocations: 4 kB / 1.444 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.001, allocations: 4 kB / 1.444 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.001, allocations: 16.06 kB / 1.444 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/1.002, allocations: 195.7 kB / 1.445 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.002, allocations: 13.5 kB / 1.445 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/1.003, allocations: 67.89 kB / 1.445 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/1.003, allocations: 27.98 kB / 1.445 GB, free: 14.92 MB / 1.139 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.0004304/1.004, allocations: 309.5 kB / 1.445 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.004, allocations: 95.44 kB / 1.445 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/1.004, allocations: 108.7 kB / 1.445 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.004, allocations: 11.94 kB / 1.445 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.004, allocations: 7.938 kB / 1.445 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001987/1.006, allocations: 1.014 MB / 1.446 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/1.01, allocations: 2.145 MB / 1.448 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.01, allocations: 4.094 kB / 1.448 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/1.011, allocations: 167.7 kB / 1.448 GB, free: 10.87 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.011, allocations: 4 kB / 1.448 GB, free: 10.87 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/1.011, allocations: 19.98 kB / 1.449 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.011, allocations: 8 kB / 1.449 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.011, allocations: 3.938 kB / 1.449 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.014, allocations: 1.419 MB / 1.45 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/1.014, allocations: 260.4 kB / 1.45 GB, free: 9.082 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.015, allocations: 16 kB / 1.45 GB, free: 9.066 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/1.015, allocations: 63.92 kB / 1.45 GB, free: 9.004 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/1.015, allocations: 43.84 kB / 1.45 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/1.016, allocations: 31.97 kB / 1.45 GB, free: 8.93 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007139/1.016, allocations: 0.6005 MB / 1.451 GB, free: 8.332 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 1.451 GB, free: 8.332 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000724/1.017, allocations: 267.9 kB / 1.451 GB, free: 8.07 MB / 1.139 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.003619/1.021, allocations: 2.082 MB / 1.453 GB, free: 5.93 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002006/1.023, allocations: 0.8114 MB / 1.454 GB, free: 5.117 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.023, allocations: 0 / 1.454 GB, free: 5.117 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009394/1.024, allocations: 396.6 kB / 1.454 GB, free: 4.73 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/1.026, allocations: 0.5731 MB / 1.455 GB, free: 4.168 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.04, allocations: 8.213 MB / 1.463 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/1.041, allocations: 1.11 MB / 1.464 GB, free: 10.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008604/1.042, allocations: 263.8 kB / 1.464 GB, free: 10.24 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/1.042, allocations: 351.3 kB / 1.465 GB, free: 9.902 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.042, allocations: 0 / 1.465 GB, free: 9.902 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.405/3.447, allocations: 28.72 MB / 1.493 GB, free: 13.68 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/20.02, allocations: 10.75 kB / 1.493 GB, free: 13.67 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches