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.008131/0.008131, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001854/0.001854, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.18/2.18, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.91 kB / 0.9504 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7013, allocations: 140.4 MB / 1.088 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2008/0.9022, allocations: 190.6 MB / 1.274 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009425/0.9116, allocations: 5.732 MB / 1.279 GB, free: 9.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.913, allocations: 39.81 kB / 1.279 GB, free: 9.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.9146, allocations: 0.5863 MB / 1.28 GB, free: 8.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.9187, allocations: 1.62 MB / 1.281 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.9219, allocations: 1.215 MB / 1.283 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.925, allocations: 2.571 MB / 1.285 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.9263, allocations: 0.8823 MB / 1.286 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.9282, allocations: 1.047 MB / 1.287 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.9299, allocations: 0.8168 MB / 1.288 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.9302, allocations: 99.94 kB / 1.288 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.9329, allocations: 1.543 MB / 1.289 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.9334, allocations: 398.9 kB / 1.29 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.9343, allocations: 0.5872 MB / 1.29 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.9371, allocations: 2.01 MB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9371, allocations: 0 / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9371, allocations: 0 / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.724e-05/0.9372, allocations: 0 / 1.292 GB, free: 11.85 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.002655/0.9398, allocations: 1.445 MB / 1.294 GB, free: 10.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9399, allocations: 8.031 kB / 1.294 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.9401, allocations: 126.6 kB / 1.294 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.9428, allocations: 410.3 kB / 1.294 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.9444, allocations: 0.8077 MB / 1.295 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.9445, allocations: 54 kB / 1.295 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.9446, allocations: 79.98 kB / 1.295 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.9466, allocations: 0.9866 MB / 1.296 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.9466, allocations: 0 / 1.296 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.9467, allocations: 32 kB / 1.296 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/0.9468, allocations: 29.98 kB / 1.296 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.9488, allocations: 0.8744 MB / 1.297 GB, free: 6.883 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.006083/0.9549, allocations: 3.478 MB / 1.3 GB, free: 3.219 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.9566, allocations: 0.6086 MB / 1.301 GB, free: 2.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.9574, allocations: 325.3 kB / 1.301 GB, free: 2.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.9576, allocations: 101.4 kB / 1.301 GB, free: 2.164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.9576, allocations: 43.22 kB / 1.301 GB, free: 2.113 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/0.9577, allocations: 4 kB / 1.301 GB, free: 2.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.008295/0.966, allocations: 2.388 MB / 1.304 GB, free: 15.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.966, allocations: 59.41 kB / 1.304 GB, free: 15.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.967, allocations: 0.7979 MB / 1.305 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.9671, allocations: 33.7 kB / 1.305 GB, free: 14.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.9674, allocations: 455.7 kB / 1.305 GB, free: 14.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9676, allocations: 141.9 kB / 1.305 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.9678, allocations: 106.1 kB / 1.305 GB, free: 14.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9679, allocations: 330 kB / 1.306 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008002/0.9687, allocations: 296.9 kB / 1.306 GB, free: 13.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.9696, allocations: 412.1 kB / 1.306 GB, free: 12.97 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.005423/0.975, allocations: 1.875 MB / 1.308 GB, free: 11.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.975, allocations: 0 / 1.308 GB, free: 11.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003309/0.9783, allocations: 1.038 MB / 1.309 GB, free: 9.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9784, allocations: 10.34 kB / 1.309 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9784, allocations: 4.094 kB / 1.309 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.9791, allocations: 192.6 kB / 1.309 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.9798, allocations: 147.8 kB / 1.31 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.9839, allocations: 2.232 MB / 1.312 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009793/0.9849, allocations: 47.95 kB / 1.312 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.9849, allocations: 27.92 kB / 1.312 GB, free: 7.195 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.0004284/0.9854, allocations: 273.6 kB / 1.312 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.9856, allocations: 90.91 kB / 1.312 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.9858, allocations: 96.23 kB / 1.312 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9858, allocations: 4 kB / 1.312 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.9858, allocations: 0 / 1.312 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002915/0.9887, allocations: 0.891 MB / 1.313 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.9942, allocations: 2.098 MB / 1.315 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.9943, allocations: 7.938 kB / 1.315 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.9949, allocations: 128.2 kB / 1.315 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.9955, allocations: 184.7 kB / 1.315 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.9956, allocations: 16 kB / 1.315 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.9993, allocations: 2.187 MB / 1.318 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.9994, allocations: 7.938 kB / 1.318 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/1.003, allocations: 1.413 MB / 1.319 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/1.004, allocations: 236 kB / 1.319 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.004, allocations: 16.06 kB / 1.319 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/1.005, allocations: 59.22 kB / 1.319 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/1.005, allocations: 43.83 kB / 1.319 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/1.005, allocations: 23.98 kB / 1.319 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007338/1.006, allocations: 0.5537 MB / 1.32 GB, free: 14.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 0 / 1.32 GB, free: 14.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009038/1.007, allocations: 272 kB / 1.32 GB, free: 14.25 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.004608/1.011, allocations: 2.065 MB / 1.322 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.014, allocations: 0.8129 MB / 1.323 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.014, allocations: 0 / 1.323 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.015, allocations: 463.5 kB / 1.323 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.017, allocations: 0.5388 MB / 1.324 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.033, allocations: 7.662 MB / 1.331 GB, free: 2.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/1.033, allocations: 1.044 MB / 1.332 GB, free: 1.293 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007082/1.034, allocations: 195.2 kB / 1.333 GB, free: 1.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/1.034, allocations: 315.3 kB / 1.333 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/1.034, allocations: 0 / 1.333 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05563/1.09, allocations: 27.83 MB / 1.36 GB, free: 5.469 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.18, allocations: 15.08 kB / 1.36 GB, free: 5.461 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