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.006957/0.006957, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001818/0.001818, allocations: 189.3 kB / 16.67 MB, free: 5.977 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.299/1.299, 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 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6582, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1984/0.8567, allocations: 190.6 MB / 1.352 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008776/0.8655, allocations: 5.735 MB / 1.358 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.8665, allocations: 39.75 kB / 1.358 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.8682, allocations: 0.602 MB / 1.359 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.872, allocations: 1.68 MB / 1.36 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.8749, allocations: 1.23 MB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.8779, allocations: 2.579 MB / 1.364 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.8791, allocations: 0.8746 MB / 1.365 GB, free: 7.664 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.8809, allocations: 1.09 MB / 1.366 GB, free: 6.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.8826, allocations: 0.8111 MB / 1.367 GB, free: 5.762 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.8828, allocations: 96 kB / 1.367 GB, free: 5.668 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.8854, allocations: 1.547 MB / 1.368 GB, free: 4.117 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.8859, allocations: 406.9 kB / 1.369 GB, free: 3.719 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007433/0.8866, allocations: 0.5911 MB / 1.369 GB, free: 3.125 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.8893, allocations: 2.025 MB / 1.371 GB, free: 1.094 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8894, allocations: 0 / 1.371 GB, free: 1.094 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8894, allocations: 0 / 1.371 GB, free: 1.094 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.8894, allocations: 0 / 1.371 GB, free: 1.094 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.002499/0.8919, allocations: 1.463 MB / 1.373 GB, free: 15.58 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8919, allocations: 8.031 kB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.8921, allocations: 130.5 kB / 1.373 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.8947, allocations: 418.9 kB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.8962, allocations: 0.8045 MB / 1.374 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.8963, allocations: 61.94 kB / 1.374 GB, free: 14.12 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.8964, allocations: 75.98 kB / 1.374 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.8983, allocations: 0.9827 MB / 1.375 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.8983, allocations: 7.938 kB / 1.375 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.8984, allocations: 36 kB / 1.375 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.8984, allocations: 26 kB / 1.375 GB, free: 12.97 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.9005, allocations: 0.8665 MB / 1.376 GB, free: 12.11 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.00606/0.9066, allocations: 3.494 MB / 1.379 GB, free: 8.434 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.9082, allocations: 0.597 MB / 1.38 GB, free: 7.828 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.909, allocations: 341.3 kB / 1.38 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.9092, allocations: 101.4 kB / 1.38 GB, free: 7.375 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.9093, allocations: 43.16 kB / 1.38 GB, free: 7.324 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.9093, allocations: 3.938 kB / 1.38 GB, free: 7.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.007962/0.9172, allocations: 2.407 MB / 1.383 GB, free: 4.836 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.9173, allocations: 55.41 kB / 1.383 GB, free: 4.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.9182, allocations: 0.8018 MB / 1.384 GB, free: 3.957 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.9183, allocations: 33.7 kB / 1.384 GB, free: 3.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.9186, allocations: 464.5 kB / 1.384 GB, free: 3.457 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.9188, allocations: 150.7 kB / 1.384 GB, free: 3.309 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.919, allocations: 106.2 kB / 1.384 GB, free: 3.199 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9191, allocations: 330 kB / 1.385 GB, free: 2.871 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/0.9199, allocations: 300.9 kB / 1.385 GB, free: 2.574 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.9208, allocations: 408.1 kB / 1.385 GB, free: 2.145 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.005348/0.9262, allocations: 1.886 MB / 1.387 GB, free: 208 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9262, allocations: 0 / 1.387 GB, free: 208 kB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003138/0.9294, allocations: 1.035 MB / 1.388 GB, free: 15.16 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9294, allocations: 4 kB / 1.388 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9294, allocations: 4 kB / 1.388 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.93, allocations: 192.7 kB / 1.388 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.9307, allocations: 143.8 kB / 1.388 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.9347, allocations: 2.224 MB / 1.391 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.9356, allocations: 52.02 kB / 1.391 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.9357, allocations: 23.98 kB / 1.391 GB, free: 12.38 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.000391/0.9361, allocations: 281.6 kB / 1.391 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.9363, allocations: 95.38 kB / 1.391 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.9364, allocations: 96.23 kB / 1.391 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.9365, allocations: 4 kB / 1.391 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9365, allocations: 0 / 1.391 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/0.9394, allocations: 0.8908 MB / 1.392 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.9447, allocations: 2.106 MB / 1.394 GB, free: 8.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.9447, allocations: 7.938 kB / 1.394 GB, free: 8.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.9454, allocations: 119.8 kB / 1.394 GB, free: 8.648 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.9459, allocations: 192.8 kB / 1.394 GB, free: 8.457 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.946, allocations: 19.98 kB / 1.394 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.9496, allocations: 2.184 MB / 1.397 GB, free: 6.109 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9497, allocations: 11.95 kB / 1.397 GB, free: 6.098 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.9534, allocations: 1.417 MB / 1.398 GB, free: 4.621 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.9539, allocations: 248.5 kB / 1.398 GB, free: 4.359 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.954, allocations: 8 kB / 1.398 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.9548, allocations: 63.5 kB / 1.398 GB, free: 4.293 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.9549, allocations: 43.83 kB / 1.398 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.955, allocations: 27.98 kB / 1.398 GB, free: 4.223 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006855/0.9557, allocations: 0.5576 MB / 1.399 GB, free: 3.668 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9557, allocations: 0 / 1.399 GB, free: 3.668 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008069/0.9565, allocations: 267.9 kB / 1.399 GB, free: 3.406 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.004267/0.9608, allocations: 2.069 MB / 1.401 GB, free: 1.281 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.9627, allocations: 0.7976 MB / 1.402 GB, free: 484 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9627, allocations: 0 / 1.402 GB, free: 484 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.9637, allocations: 455.5 kB / 1.402 GB, free: 16 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.966, allocations: 0.5436 MB / 1.403 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.9806, allocations: 7.693 MB / 1.41 GB, free: 7.5 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.9812, allocations: 1.048 MB / 1.411 GB, free: 6.426 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006833/0.9819, allocations: 207.2 kB / 1.412 GB, free: 6.219 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.9824, allocations: 315.3 kB / 1.412 GB, free: 5.91 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/0.9824, allocations: 0 / 1.412 GB, free: 5.91 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/1.036, allocations: 27.84 MB / 1.439 GB, free: 10.51 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.25, allocations: 15.38 kB / 1.439 GB, free: 10.5 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