Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.007168/0.007168, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.001885/0.001885, allocations: 187 kB / 16.67 MB, free: 5.922 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.463/2.463, allocations: 469.4 MB / 0.7421 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6639, allocations: 159.1 MB / 1.22 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.182/0.846, allocations: 190.6 MB / 1.406 GB, free: 2.898 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008846/0.8549, allocations: 5.743 MB / 1.412 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.8561, allocations: 39.75 kB / 1.412 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.8577, allocations: 0.6059 MB / 1.412 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.8619, allocations: 1.676 MB / 1.414 GB, free: 10.82 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.865, allocations: 1.228 MB / 1.415 GB, free: 9.598 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003064/0.8681, allocations: 2.577 MB / 1.418 GB, free: 7.012 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.8693, allocations: 0.8677 MB / 1.418 GB, free: 6.133 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.8712, allocations: 1.094 MB / 1.419 GB, free: 5.035 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.8728, allocations: 0.8164 MB / 1.42 GB, free: 4.223 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.873, allocations: 96 kB / 1.42 GB, free: 4.129 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.8756, allocations: 1.551 MB / 1.422 GB, free: 2.574 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.8761, allocations: 406.9 kB / 1.422 GB, free: 2.176 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.8768, allocations: 0.5872 MB / 1.423 GB, free: 1.586 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.8797, allocations: 2.021 MB / 1.425 GB, free: 15.56 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8797, allocations: 0 / 1.425 GB, free: 15.56 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8797, allocations: 0 / 1.425 GB, free: 15.56 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.844e-05/0.8797, allocations: 3.938 kB / 1.425 GB, free: 15.55 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.002943/0.8827, allocations: 1.471 MB / 1.426 GB, free: 14.03 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.8827, allocations: 8.031 kB / 1.426 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.8829, allocations: 118.6 kB / 1.426 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.8858, allocations: 426.8 kB / 1.427 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.8873, allocations: 0.8046 MB / 1.428 GB, free: 12.63 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.8874, allocations: 61.94 kB / 1.428 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.8875, allocations: 79.95 kB / 1.428 GB, free: 12.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.8894, allocations: 0.9788 MB / 1.429 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.8894, allocations: 0 / 1.429 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.8895, allocations: 32 kB / 1.429 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.8896, allocations: 30 kB / 1.429 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.8916, allocations: 0.8743 MB / 1.43 GB, free: 10.56 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.006069/0.8977, allocations: 3.495 MB / 1.433 GB, free: 6.887 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.8993, allocations: 0.6087 MB / 1.434 GB, free: 6.27 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007972/0.9001, allocations: 329.3 kB / 1.434 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.9003, allocations: 101.4 kB / 1.434 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.9003, allocations: 43.16 kB / 1.434 GB, free: 5.777 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.9004, allocations: 0 / 1.434 GB, free: 5.777 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.00809/0.9084, allocations: 2.404 MB / 1.436 GB, free: 3.297 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.9085, allocations: 55.41 kB / 1.436 GB, free: 3.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.9094, allocations: 0.794 MB / 1.437 GB, free: 2.426 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.9095, allocations: 37.7 kB / 1.437 GB, free: 2.383 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.9098, allocations: 456.5 kB / 1.438 GB, free: 1.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.91, allocations: 154.6 kB / 1.438 GB, free: 1.777 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.9101, allocations: 110.1 kB / 1.438 GB, free: 1.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9103, allocations: 333.9 kB / 1.438 GB, free: 1.328 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008051/0.9111, allocations: 300.9 kB / 1.438 GB, free: 1.035 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.9119, allocations: 408.1 kB / 1.439 GB, free: 0.6055 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.005441/0.9174, allocations: 1.882 MB / 1.441 GB, free: 14.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9174, allocations: 0 / 1.441 GB, free: 14.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003283/0.9207, allocations: 1.039 MB / 1.442 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9207, allocations: 8 kB / 1.442 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9207, allocations: 0 / 1.442 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.9214, allocations: 184.8 kB / 1.442 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.9221, allocations: 151.7 kB / 1.442 GB, free: 13.28 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.9261, allocations: 2.237 MB / 1.444 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.927, allocations: 56 kB / 1.444 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.9271, allocations: 20 kB / 1.444 GB, free: 10.83 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.0004083/0.9275, allocations: 277.6 kB / 1.445 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.9277, allocations: 95.38 kB / 1.445 GB, free: 10.45 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.9279, allocations: 92.23 kB / 1.445 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9279, allocations: 8 kB / 1.445 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.9279, allocations: 0 / 1.445 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002911/0.9308, allocations: 0.9062 MB / 1.446 GB, free: 9.41 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.9361, allocations: 2.09 MB / 1.448 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9361, allocations: 8.125 kB / 1.448 GB, free: 7.215 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.9368, allocations: 132.2 kB / 1.448 GB, free: 7.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.9374, allocations: 196.6 kB / 1.448 GB, free: 6.891 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.9374, allocations: 12 kB / 1.448 GB, free: 6.879 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.941, allocations: 2.187 MB / 1.45 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.941, allocations: 4 kB / 1.45 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.9448, allocations: 1.417 MB / 1.452 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.9453, allocations: 236.5 kB / 1.452 GB, free: 2.816 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9454, allocations: 19.98 kB / 1.452 GB, free: 2.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.9463, allocations: 59.91 kB / 1.452 GB, free: 2.742 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.9464, allocations: 43.84 kB / 1.452 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.9465, allocations: 27.97 kB / 1.452 GB, free: 2.672 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006692/0.9472, allocations: 0.5537 MB / 1.452 GB, free: 2.121 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/0.9472, allocations: 0 / 1.452 GB, free: 2.121 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000825/0.948, allocations: 271.9 kB / 1.453 GB, free: 1.855 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.004456/0.9525, allocations: 2.064 MB / 1.455 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.9545, allocations: 0.8015 MB / 1.456 GB, free: 14.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9546, allocations: 0 / 1.456 GB, free: 14.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.9555, allocations: 459.5 kB / 1.456 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.958, allocations: 0.542 MB / 1.456 GB, free: 13.92 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.9732, allocations: 7.687 MB / 1.464 GB, free: 5.941 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.9738, allocations: 1.044 MB / 1.465 GB, free: 4.871 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006995/0.9746, allocations: 211.1 kB / 1.465 GB, free: 4.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.975, allocations: 315.3 kB / 1.466 GB, free: 4.352 MB / 1.186 GB Notification: Performance of SimCode: time 4.81e-07/0.975, allocations: 0 / 1.466 GB, free: 4.352 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05066/1.026, allocations: 27.83 MB / 1.493 GB, free: 9.012 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.25, allocations: 11.86 kB / 1.493 GB, free: 9.004 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches