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.001916/0.001916, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.63/2.63, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5952, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1853/0.7806, allocations: 190.6 MB / 1.204 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009221/0.7898, allocations: 5.736 MB / 1.209 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.7911, allocations: 39.75 kB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.7927, allocations: 0.5786 MB / 1.21 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.7965, allocations: 1.618 MB / 1.211 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.7995, allocations: 1.198 MB / 1.212 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.8024, allocations: 2.573 MB / 1.215 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.8037, allocations: 0.8706 MB / 1.216 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.8055, allocations: 1.047 MB / 1.217 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.8073, allocations: 0.8184 MB / 1.218 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/0.8075, allocations: 96 kB / 1.218 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.8107, allocations: 1.543 MB / 1.219 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.8112, allocations: 402.9 kB / 1.22 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.8122, allocations: 0.5911 MB / 1.22 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.8153, allocations: 1.998 MB / 1.222 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.8154, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8154, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.8154, allocations: 4 kB / 1.222 GB, free: 15.97 MB / 0.9825 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.002645/0.8181, allocations: 1.437 MB / 1.224 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.8181, allocations: 8.031 kB / 1.224 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.8183, allocations: 122.6 kB / 1.224 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.8212, allocations: 410.3 kB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.8227, allocations: 0.7648 MB / 1.225 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.8231, allocations: 109.9 kB / 1.225 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.8232, allocations: 79.92 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.8252, allocations: 0.9984 MB / 1.226 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8252, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.8253, allocations: 39.97 kB / 1.226 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.8254, allocations: 34 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.8274, allocations: 0.8743 MB / 1.227 GB, free: 10.99 MB / 0.9825 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.006047/0.8335, allocations: 3.536 MB / 1.23 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.8352, allocations: 0.6215 MB / 1.231 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/0.8361, allocations: 340.5 kB / 1.231 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.8363, allocations: 101.8 kB / 1.231 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.8363, allocations: 38.56 kB / 1.231 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 3.126e-06/0.8363, allocations: 3.984 kB / 1.231 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.008281/0.8446, allocations: 2.414 MB / 1.234 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.8447, allocations: 55.41 kB / 1.234 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8457, allocations: 0.798 MB / 1.235 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.8458, allocations: 33.7 kB / 1.235 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.8461, allocations: 455.6 kB / 1.235 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.8462, allocations: 145.9 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.8464, allocations: 110 kB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8466, allocations: 326 kB / 1.236 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.8474, allocations: 308.9 kB / 1.236 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009197/0.8484, allocations: 412.1 kB / 1.236 GB, free: 0.957 MB / 0.9825 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.005662/0.854, allocations: 1.902 MB / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8541, allocations: 0 / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003368/0.8574, allocations: 1.046 MB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8575, allocations: 9.875 kB / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8575, allocations: 4.094 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.8581, allocations: 188.7 kB / 1.239 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.8589, allocations: 151.8 kB / 1.24 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.8628, allocations: 2.237 MB / 1.242 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.8638, allocations: 56 kB / 1.242 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.8638, allocations: 20 kB / 1.242 GB, free: 11.14 MB / 0.9981 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.000416/0.8643, allocations: 273.9 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.8645, allocations: 86.97 kB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.8647, allocations: 100.2 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8647, allocations: 4 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8647, allocations: 0 / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00299/0.8677, allocations: 0.9025 MB / 1.243 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.8732, allocations: 2.115 MB / 1.245 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8732, allocations: 8.062 kB / 1.245 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.8739, allocations: 127.8 kB / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.8745, allocations: 184.8 kB / 1.246 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.8745, allocations: 19.98 kB / 1.246 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/0.8782, allocations: 2.183 MB / 1.248 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.8782, allocations: 11.88 kB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.8824, allocations: 1.431 MB / 1.249 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.8828, allocations: 236 kB / 1.249 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.883, allocations: 8 kB / 1.249 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.8839, allocations: 69.95 kB / 1.249 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.884, allocations: 43.78 kB / 1.249 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.8841, allocations: 27.97 kB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007228/0.8849, allocations: 0.5537 MB / 1.25 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8849, allocations: 0 / 1.25 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009075/0.8858, allocations: 272 kB / 1.25 GB, free: 2.148 MB / 0.9981 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.004635/0.8904, allocations: 2.075 MB / 1.252 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4065/1.297, allocations: 0.8529 MB / 1.253 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.297, allocations: 1.562 kB / 1.253 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.298, allocations: 459.1 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.301, allocations: 0.5462 MB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.317, allocations: 7.965 MB / 1.262 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/1.318, allocations: 1.044 MB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001066/1.319, allocations: 207.9 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/1.319, allocations: 314.6 kB / 1.263 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.319, allocations: 0 / 1.263 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/1.377, allocations: 27.64 MB / 1.29 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.81, allocations: 17 kB / 1.29 GB, free: 214.4 MB / 0.9981 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