Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.007258/0.007258, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001842/0.001842, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.352/2.352, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.88 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6667, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2049/0.8716, allocations: 221.1 MB / 1.382 GB, free: 5.824 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.8803, allocations: 5.725 MB / 1.388 GB, free: 88 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.8815, allocations: 39.75 kB / 1.388 GB, free: 48 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.883, allocations: 0.6059 MB / 1.388 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.8869, allocations: 1.684 MB / 1.39 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.8899, allocations: 1.229 MB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.8928, allocations: 2.587 MB / 1.394 GB, free: 9.934 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.894, allocations: 0.895 MB / 1.395 GB, free: 9.027 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.8957, allocations: 1.097 MB / 1.396 GB, free: 7.926 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8974, allocations: 0.8413 MB / 1.396 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.8975, allocations: 96 kB / 1.397 GB, free: 7 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.9003, allocations: 1.547 MB / 1.398 GB, free: 5.449 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.9007, allocations: 410.9 kB / 1.398 GB, free: 5.047 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.9012, allocations: 0.5794 MB / 1.399 GB, free: 4.465 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.9038, allocations: 2.021 MB / 1.401 GB, free: 2.438 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.9038, allocations: 3.938 kB / 1.401 GB, free: 2.434 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9038, allocations: 0 / 1.401 GB, free: 2.434 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9038, allocations: 0 / 1.401 GB, free: 2.434 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002167/0.906, allocations: 1.463 MB / 1.402 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.9061, allocations: 8.031 kB / 1.402 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.9062, allocations: 126.6 kB / 1.403 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.9088, allocations: 422.8 kB / 1.403 GB, free: 368 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.9102, allocations: 0.8007 MB / 1.404 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.9103, allocations: 62 kB / 1.404 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.9104, allocations: 72 kB / 1.404 GB, free: 15.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.9122, allocations: 0.9905 MB / 1.405 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.9122, allocations: 0 / 1.405 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.9123, allocations: 35.94 kB / 1.405 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.9124, allocations: 37.94 kB / 1.405 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.9143, allocations: 0.8821 MB / 1.406 GB, free: 13.43 MB / 1.139 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.005509/0.9198, allocations: 3.471 MB / 1.409 GB, free: 9.766 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.9214, allocations: 0.5969 MB / 1.41 GB, free: 9.16 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.9221, allocations: 346.7 kB / 1.41 GB, free: 8.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.9223, allocations: 105 kB / 1.41 GB, free: 8.699 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.9224, allocations: 46.44 kB / 1.41 GB, free: 8.645 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.364e-06/0.9224, allocations: 0 / 1.41 GB, free: 8.645 MB / 1.139 GB Notification: Performance of matching and sorting (n=41): time 0.004804/0.9272, allocations: 1.902 MB / 1.412 GB, free: 6.688 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.9272, allocations: 63.19 kB / 1.412 GB, free: 6.613 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.9281, allocations: 0.7744 MB / 1.413 GB, free: 5.828 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.9282, allocations: 41.64 kB / 1.413 GB, free: 5.781 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.9285, allocations: 464.4 kB / 1.413 GB, free: 5.324 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.9286, allocations: 150.7 kB / 1.414 GB, free: 5.176 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.9288, allocations: 114.2 kB / 1.414 GB, free: 5.059 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.929, allocations: 329.9 kB / 1.414 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.9297, allocations: 316.9 kB / 1.414 GB, free: 4.418 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.9306, allocations: 443.5 kB / 1.415 GB, free: 3.941 MB / 1.139 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.005359/0.936, allocations: 1.933 MB / 1.417 GB, free: 1.953 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.936, allocations: 4 kB / 1.417 GB, free: 1.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001969/0.938, allocations: 0.8352 MB / 1.417 GB, free: 1.105 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.938, allocations: 12.09 kB / 1.417 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.938, allocations: 4 kB / 1.417 GB, free: 1.09 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9381, allocations: 4 kB / 1.417 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.9389, allocations: 171.7 kB / 1.418 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.9389, allocations: 7.938 kB / 1.418 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.9398, allocations: 59.92 kB / 1.418 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.9399, allocations: 20 kB / 1.418 GB, free: 0.832 MB / 1.139 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: 14 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00041/0.9403, allocations: 286.8 kB / 1.418 GB, free: 0.543 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.9405, allocations: 91.44 kB / 1.418 GB, free: 464 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.9407, allocations: 96.08 kB / 1.418 GB, free: 360 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9408, allocations: 4 kB / 1.418 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9408, allocations: 0 / 1.418 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/0.9424, allocations: 0.6874 MB / 1.419 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.9464, allocations: 1.903 MB / 1.421 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.9464, allocations: 11.97 kB / 1.421 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.9472, allocations: 139.8 kB / 1.421 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.9473, allocations: 8 kB / 1.421 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.9473, allocations: 16 kB / 1.421 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.9473, allocations: 4 kB / 1.421 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.9473, allocations: 7.938 kB / 1.421 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.95, allocations: 1.229 MB / 1.422 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.9505, allocations: 240.5 kB / 1.422 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.9506, allocations: 11.98 kB / 1.422 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/0.9515, allocations: 60 kB / 1.422 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.9515, allocations: 43.77 kB / 1.422 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.9516, allocations: 23.98 kB / 1.422 GB, free: 11.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00073/0.9524, allocations: 0.5498 MB / 1.423 GB, free: 11.22 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9524, allocations: 0 / 1.423 GB, free: 11.22 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008201/0.9532, allocations: 251.9 kB / 1.423 GB, free: 10.98 MB / 1.154 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003187/0.9564, allocations: 1.871 MB / 1.425 GB, free: 9.051 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.9583, allocations: 0.6858 MB / 1.426 GB, free: 8.367 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.9583, allocations: 8.188 kB / 1.426 GB, free: 8.359 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.9591, allocations: 328.4 kB / 1.426 GB, free: 8.039 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.9615, allocations: 0.5299 MB / 1.426 GB, free: 7.52 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.9745, allocations: 7.19 MB / 1.434 GB, free: 36 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.9752, allocations: 1.048 MB / 1.435 GB, free: 14.96 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.976, allocations: 227 kB / 1.435 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.9765, allocations: 323.3 kB / 1.435 GB, free: 14.42 MB / 1.17 GB Notification: Performance of SimCode: time 8.42e-07/0.9765, allocations: 0 / 1.435 GB, free: 14.42 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/1.025, allocations: 25.57 MB / 1.46 GB, free: 5.23 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.953/9.977, allocations: 2.844 kB / 1.46 GB, free: 5.23 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_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_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches