Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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.005669/0.005668, allocations: 102.4 kB / 15.73 MB, free: 6.062 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.001364/0.001364, allocations: 190.7 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.313/1.313, 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 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7378, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2108/0.9487, allocations: 190.6 MB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009221/0.9579, allocations: 5.723 MB / 1.279 GB, free: 9.352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.9594, allocations: 43.69 kB / 1.279 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.9611, allocations: 0.602 MB / 1.28 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.9653, allocations: 1.684 MB / 1.282 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.9686, allocations: 1.233 MB / 1.283 GB, free: 5.785 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.972, allocations: 2.577 MB / 1.285 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.9733, allocations: 0.8784 MB / 1.286 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.9755, allocations: 1.09 MB / 1.287 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.9772, allocations: 0.8058 MB / 1.288 GB, free: 432 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.9775, allocations: 96 kB / 1.288 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.9805, allocations: 1.551 MB / 1.29 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.981, allocations: 406.9 kB / 1.29 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009809/0.982, allocations: 0.5872 MB / 1.291 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.9853, allocations: 2.021 MB / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.9853, allocations: 0 / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9853, allocations: 0 / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.492e-05/0.9854, allocations: 0 / 1.292 GB, free: 11.76 MB / 1.029 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.002703/0.9881, allocations: 1.467 MB / 1.294 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.9881, allocations: 12.03 kB / 1.294 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.9883, allocations: 126.6 kB / 1.294 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.9911, allocations: 418.9 kB / 1.294 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9927, allocations: 0.8084 MB / 1.295 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.9928, allocations: 54 kB / 1.295 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9929, allocations: 72 kB / 1.295 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.9948, allocations: 0.9905 MB / 1.296 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9949, allocations: 4 kB / 1.296 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.995, allocations: 32 kB / 1.296 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.995, allocations: 26 kB / 1.296 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.997, allocations: 0.8743 MB / 1.297 GB, free: 6.762 MB / 1.029 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.006217/1.003, allocations: 3.494 MB / 1.301 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.005, allocations: 0.6086 MB / 1.301 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/1.006, allocations: 333.2 kB / 1.302 GB, free: 2.137 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/1.006, allocations: 97.42 kB / 1.302 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.006, allocations: 39.22 kB / 1.302 GB, free: 1.977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/1.006, allocations: 0 / 1.302 GB, free: 1.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.008198/1.014, allocations: 2.414 MB / 1.304 GB, free: 15.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.014, allocations: 55.41 kB / 1.304 GB, free: 15.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/1.015, allocations: 0.7979 MB / 1.305 GB, free: 14.61 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/1.015, allocations: 37.7 kB / 1.305 GB, free: 14.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.016, allocations: 460.5 kB / 1.305 GB, free: 14.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.016, allocations: 146.7 kB / 1.305 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/1.016, allocations: 106.2 kB / 1.306 GB, free: 13.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.016, allocations: 330 kB / 1.306 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007805/1.017, allocations: 300.9 kB / 1.306 GB, free: 13.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/1.018, allocations: 408.1 kB / 1.307 GB, free: 12.8 MB / 1.045 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.005282/1.023, allocations: 1.883 MB / 1.308 GB, free: 10.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.023, allocations: 0 / 1.308 GB, free: 10.87 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003288/1.026, allocations: 1.043 MB / 1.309 GB, free: 9.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.026, allocations: 4 kB / 1.309 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.026, allocations: 7.938 kB / 1.309 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/1.027, allocations: 184.8 kB / 1.31 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/1.028, allocations: 147.8 kB / 1.31 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/1.032, allocations: 2.236 MB / 1.312 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/1.033, allocations: 52.12 kB / 1.312 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.033, allocations: 24 kB / 1.312 GB, free: 7.027 MB / 1.045 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.000432/1.033, allocations: 285.5 kB / 1.312 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.033, allocations: 87.48 kB / 1.312 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/1.033, allocations: 96.23 kB / 1.312 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.033, allocations: 4 kB / 1.312 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.033, allocations: 0 / 1.312 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002871/1.036, allocations: 0.891 MB / 1.313 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/1.042, allocations: 2.106 MB / 1.315 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.042, allocations: 4 kB / 1.315 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/1.043, allocations: 124.2 kB / 1.316 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/1.043, allocations: 184.7 kB / 1.316 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/1.043, allocations: 19.98 kB / 1.316 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/1.047, allocations: 2.187 MB / 1.318 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.047, allocations: 7.938 kB / 1.318 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/1.051, allocations: 1.414 MB / 1.319 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/1.051, allocations: 248.5 kB / 1.319 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.051, allocations: 8 kB / 1.319 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/1.052, allocations: 71 kB / 1.32 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/1.052, allocations: 39.89 kB / 1.32 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/1.052, allocations: 23.98 kB / 1.32 GB, free: 14.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007037/1.053, allocations: 0.5576 MB / 1.32 GB, free: 14.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.583e-06/1.053, allocations: 0 / 1.32 GB, free: 14.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008693/1.054, allocations: 271.9 kB / 1.32 GB, free: 14.06 MB / 1.061 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.004328/1.058, allocations: 2.067 MB / 1.322 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002006/1.06, allocations: 0.8013 MB / 1.323 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.06, allocations: 0 / 1.323 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/1.061, allocations: 459.5 kB / 1.324 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.064, allocations: 0.5497 MB / 1.324 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.079, allocations: 7.68 MB / 1.332 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/1.08, allocations: 1.044 MB / 1.333 GB, free: 1.078 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007448/1.081, allocations: 207.2 kB / 1.333 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/1.081, allocations: 315.3 kB / 1.333 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.081, allocations: 0 / 1.333 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/1.138, allocations: 27.83 MB / 1.36 GB, free: 5.254 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.22, allocations: 10.19 kB / 1.36 GB, free: 5.246 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches