Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.006941/0.006941, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001579/0.001578, allocations: 191.9 kB / 16.67 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.89 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6979, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2082/0.9061, allocations: 190.6 MB / 1.406 GB, free: 2.684 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009153/0.9152, allocations: 5.744 MB / 1.412 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000729/0.916, allocations: 39.75 kB / 1.412 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.9174, allocations: 0.5747 MB / 1.413 GB, free: 12.31 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.9211, allocations: 1.618 MB / 1.414 GB, free: 10.69 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.924, allocations: 1.213 MB / 1.415 GB, free: 9.48 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.9272, allocations: 2.564 MB / 1.418 GB, free: 6.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.9283, allocations: 0.8832 MB / 1.419 GB, free: 6.016 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.93, allocations: 1.051 MB / 1.42 GB, free: 4.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.9316, allocations: 0.8133 MB / 1.42 GB, free: 4.152 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.9317, allocations: 100 kB / 1.421 GB, free: 4.055 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.9345, allocations: 1.54 MB / 1.422 GB, free: 2.512 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.935, allocations: 406.9 kB / 1.422 GB, free: 2.113 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006607/0.9357, allocations: 0.5872 MB / 1.423 GB, free: 1.523 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.9384, allocations: 2.021 MB / 1.425 GB, free: 15.5 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.9384, allocations: 3.938 kB / 1.425 GB, free: 15.49 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9384, allocations: 0 / 1.425 GB, free: 15.49 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.9385, allocations: 3.984 kB / 1.425 GB, free: 15.49 MB / 1.154 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.002425/0.9409, allocations: 1.459 MB / 1.426 GB, free: 13.98 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.9409, allocations: 8.625 kB / 1.426 GB, free: 13.97 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.9411, allocations: 126.6 kB / 1.427 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.9438, allocations: 418.9 kB / 1.427 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.9452, allocations: 0.8045 MB / 1.428 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.9453, allocations: 58 kB / 1.428 GB, free: 12.52 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.9454, allocations: 75.95 kB / 1.428 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9474, allocations: 0.9866 MB / 1.429 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.9474, allocations: 7.922 kB / 1.429 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.9475, allocations: 39.94 kB / 1.429 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.9476, allocations: 29.98 kB / 1.429 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.9497, allocations: 0.8705 MB / 1.43 GB, free: 10.49 MB / 1.154 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.006074/0.9558, allocations: 3.491 MB / 1.433 GB, free: 6.816 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.9575, allocations: 0.6086 MB / 1.434 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.9583, allocations: 335.2 kB / 1.434 GB, free: 5.871 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.9585, allocations: 101.4 kB / 1.434 GB, free: 5.754 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.9586, allocations: 43.22 kB / 1.434 GB, free: 5.703 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.9586, allocations: 0 / 1.434 GB, free: 5.703 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.008352/0.9669, allocations: 2.404 MB / 1.437 GB, free: 3.223 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.967, allocations: 55.41 kB / 1.437 GB, free: 3.156 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.968, allocations: 0.7979 MB / 1.437 GB, free: 2.352 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.9681, allocations: 37.64 kB / 1.437 GB, free: 2.309 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.9685, allocations: 460.5 kB / 1.438 GB, free: 1.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.9686, allocations: 154.7 kB / 1.438 GB, free: 1.699 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.9689, allocations: 106.2 kB / 1.438 GB, free: 1.586 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.969, allocations: 326 kB / 1.438 GB, free: 1.262 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.9699, allocations: 300.9 kB / 1.439 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/0.9708, allocations: 416 kB / 1.439 GB, free: 0.5312 MB / 1.154 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.005689/0.9765, allocations: 1.875 MB / 1.441 GB, free: 14.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9765, allocations: 0 / 1.441 GB, free: 14.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003343/0.9799, allocations: 1.039 MB / 1.442 GB, free: 13.55 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9799, allocations: 4 kB / 1.442 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.9799, allocations: 4 kB / 1.442 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/0.9805, allocations: 192.8 kB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.9813, allocations: 151.8 kB / 1.442 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.9855, allocations: 2.226 MB / 1.444 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.9864, allocations: 52.02 kB / 1.445 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.9864, allocations: 19.98 kB / 1.445 GB, free: 10.77 MB / 1.17 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.0004096/0.9869, allocations: 286.1 kB / 1.445 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.987, allocations: 95.38 kB / 1.445 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.9872, allocations: 100.2 kB / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.9873, allocations: 4 kB / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.9873, allocations: 192 / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002971/0.9902, allocations: 0.8908 MB / 1.446 GB, free: 9.359 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.9957, allocations: 2.106 MB / 1.448 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9957, allocations: 7.938 kB / 1.448 GB, free: 7.145 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.9963, allocations: 123.8 kB / 1.448 GB, free: 7.023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.9969, allocations: 188.8 kB / 1.448 GB, free: 6.836 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.997, allocations: 12 kB / 1.448 GB, free: 6.824 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/1.001, allocations: 2.188 MB / 1.45 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.001, allocations: 4.219 kB / 1.45 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004004/1.005, allocations: 1.425 MB / 1.452 GB, free: 3.004 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/1.005, allocations: 244.5 kB / 1.452 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.005, allocations: 12 kB / 1.452 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/1.006, allocations: 60 kB / 1.452 GB, free: 2.676 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/1.006, allocations: 39.89 kB / 1.452 GB, free: 2.637 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/1.007, allocations: 27.98 kB / 1.452 GB, free: 2.609 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007428/1.007, allocations: 0.5537 MB / 1.453 GB, free: 2.059 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.194e-06/1.007, allocations: 0 / 1.453 GB, free: 2.059 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008316/1.008, allocations: 275.9 kB / 1.453 GB, free: 1.789 MB / 1.17 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.004713/1.013, allocations: 2.067 MB / 1.455 GB, free: 15.66 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.015, allocations: 0.8015 MB / 1.456 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.015, allocations: 0 / 1.456 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.016, allocations: 451.5 kB / 1.456 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.019, allocations: 0.5476 MB / 1.457 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.034, allocations: 7.682 MB / 1.464 GB, free: 5.883 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/1.035, allocations: 1.048 MB / 1.465 GB, free: 4.809 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007468/1.036, allocations: 203.2 kB / 1.465 GB, free: 4.605 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/1.036, allocations: 315.3 kB / 1.466 GB, free: 4.297 MB / 1.186 GB Notification: Performance of SimCode: time 4.31e-07/1.037, allocations: 0 / 1.466 GB, free: 4.297 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06364/1.1, allocations: 27.83 MB / 1.493 GB, free: 8.977 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.21, allocations: 20.06 kB / 1.493 GB, free: 8.965 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches