Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.00529/0.00529, allocations: 102 kB / 15.73 MB, free: 6.035 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.001242/0.001243, allocations: 196.4 kB / 16.68 MB, free: 5.953 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6456/0.6469, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1851/0.8321, allocations: 190.6 MB / 1.352 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009009/0.8411, allocations: 5.735 MB / 1.358 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.8426, allocations: 43.75 kB / 1.358 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.8442, allocations: 0.5786 MB / 1.359 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.8482, allocations: 1.623 MB / 1.36 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.8513, allocations: 1.21 MB / 1.361 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.8543, allocations: 2.573 MB / 1.364 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8555, allocations: 0.8706 MB / 1.365 GB, free: 7.777 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.8574, allocations: 1.043 MB / 1.366 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.8591, allocations: 0.8163 MB / 1.366 GB, free: 5.918 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.8594, allocations: 96 kB / 1.367 GB, free: 5.824 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.862, allocations: 1.543 MB / 1.368 GB, free: 4.277 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.8624, allocations: 406.9 kB / 1.368 GB, free: 3.879 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.8633, allocations: 0.5833 MB / 1.369 GB, free: 3.293 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.866, allocations: 2.018 MB / 1.371 GB, free: 1.27 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.866, allocations: 7.875 kB / 1.371 GB, free: 1.262 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.343e-06/0.866, allocations: 0 / 1.371 GB, free: 1.262 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.289e-05/0.8661, allocations: 0 / 1.371 GB, free: 1.262 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002559/0.8686, allocations: 1.43 MB / 1.372 GB, free: 15.78 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8687, allocations: 8.031 kB / 1.372 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.8689, allocations: 126.5 kB / 1.373 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.8716, allocations: 414.3 kB / 1.373 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.8732, allocations: 0.8088 MB / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.8732, allocations: 58 kB / 1.374 GB, free: 14.33 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.8734, allocations: 76 kB / 1.374 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8752, allocations: 0.9788 MB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.8753, allocations: 0 / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.8754, allocations: 35.94 kB / 1.375 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.8754, allocations: 30 kB / 1.375 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.8774, allocations: 0.8704 MB / 1.376 GB, free: 12.32 MB / 1.107 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.005955/0.8834, allocations: 3.478 MB / 1.379 GB, free: 8.664 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.8851, allocations: 0.6087 MB / 1.38 GB, free: 8.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/0.8859, allocations: 329.3 kB / 1.38 GB, free: 7.723 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.8861, allocations: 105.4 kB / 1.38 GB, free: 7.602 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.8862, allocations: 43.16 kB / 1.38 GB, free: 7.551 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.8862, allocations: 0 / 1.38 GB, free: 7.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.008372/0.8945, allocations: 2.397 MB / 1.383 GB, free: 5.074 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.8946, allocations: 59.41 kB / 1.383 GB, free: 5.004 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.8955, allocations: 0.7902 MB / 1.383 GB, free: 4.203 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.8956, allocations: 37.64 kB / 1.383 GB, free: 4.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.8959, allocations: 451.6 kB / 1.384 GB, free: 3.711 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.8961, allocations: 145.8 kB / 1.384 GB, free: 3.566 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.8963, allocations: 106.1 kB / 1.384 GB, free: 3.457 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.8964, allocations: 330 kB / 1.384 GB, free: 3.129 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008127/0.8972, allocations: 300.9 kB / 1.385 GB, free: 2.832 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008877/0.8981, allocations: 412.1 kB / 1.385 GB, free: 2.398 MB / 1.107 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.005476/0.9036, allocations: 1.882 MB / 1.387 GB, free: 472 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9036, allocations: 0 / 1.387 GB, free: 472 kB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003296/0.9069, allocations: 1.035 MB / 1.388 GB, free: 15.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9069, allocations: 8 kB / 1.388 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9069, allocations: 0 / 1.388 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.9075, allocations: 192.7 kB / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.9083, allocations: 143.8 kB / 1.388 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.9123, allocations: 2.227 MB / 1.39 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.9133, allocations: 55.94 kB / 1.39 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.9134, allocations: 20 kB / 1.39 GB, free: 12.64 MB / 1.123 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.9138, allocations: 274.8 kB / 1.391 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.9139, allocations: 90.91 kB / 1.391 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.9141, allocations: 92.23 kB / 1.391 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9141, allocations: 8 kB / 1.391 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.9141, allocations: 0 / 1.391 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002931/0.9171, allocations: 0.9025 MB / 1.392 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.9225, allocations: 2.094 MB / 1.394 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.9225, allocations: 3.938 kB / 1.394 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.9232, allocations: 132.2 kB / 1.394 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.9238, allocations: 200.7 kB / 1.394 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.9238, allocations: 12 kB / 1.394 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/0.9275, allocations: 2.184 MB / 1.396 GB, free: 6.367 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9276, allocations: 4 kB / 1.396 GB, free: 6.363 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.9315, allocations: 1.417 MB / 1.398 GB, free: 4.887 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.932, allocations: 232 kB / 1.398 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.9322, allocations: 23.97 kB / 1.398 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.9331, allocations: 58.84 kB / 1.398 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.9332, allocations: 39.84 kB / 1.398 GB, free: 4.523 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.9332, allocations: 32.16 kB / 1.398 GB, free: 4.492 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006914/0.9339, allocations: 0.5498 MB / 1.399 GB, free: 3.945 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9339, allocations: 0 / 1.399 GB, free: 3.945 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008566/0.9348, allocations: 276 kB / 1.399 GB, free: 3.676 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004654/0.9395, allocations: 2.065 MB / 1.401 GB, free: 1.551 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.9415, allocations: 0.8015 MB / 1.402 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9416, allocations: 0 / 1.402 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.9425, allocations: 451.6 kB / 1.402 GB, free: 292 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.945, allocations: 0.5448 MB / 1.403 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.9603, allocations: 7.668 MB / 1.41 GB, free: 7.801 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.9609, allocations: 1.048 MB / 1.411 GB, free: 6.727 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.9616, allocations: 195.2 kB / 1.411 GB, free: 6.531 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.9621, allocations: 319.3 kB / 1.412 GB, free: 6.219 MB / 1.139 GB Notification: Performance of SimCode: time 5.51e-07/0.9621, allocations: 0 / 1.412 GB, free: 6.219 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/1.017, allocations: 27.83 MB / 1.439 GB, free: 10.81 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.38, allocations: 11.72 kB / 1.439 GB, free: 10.81 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches