Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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.004247/0.004247, allocations: 99.84 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.001055/0.001055, allocations: 198.6 kB / 16.68 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.142/2.142, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2214/0.9284, allocations: 221.1 MB / 1.303 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008146/0.9366, allocations: 5.72 MB / 1.309 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.9375, allocations: 43.75 kB / 1.309 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.9388, allocations: 0.5825 MB / 1.31 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.9422, allocations: 1.622 MB / 1.311 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.9449, allocations: 1.218 MB / 1.312 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.9475, allocations: 2.582 MB / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.9485, allocations: 0.8911 MB / 1.316 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.9499, allocations: 1.058 MB / 1.317 GB, free: 2.742 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.9514, allocations: 0.8372 MB / 1.318 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.9516, allocations: 96 kB / 1.318 GB, free: 1.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.9538, allocations: 1.543 MB / 1.319 GB, free: 280 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.9542, allocations: 414.9 kB / 1.32 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.9547, allocations: 0.5794 MB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.9568, allocations: 2.014 MB / 1.322 GB, free: 13.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9568, allocations: 0 / 1.322 GB, free: 13.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9569, allocations: 0 / 1.322 GB, free: 13.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.9569, allocations: 0 / 1.322 GB, free: 13.27 MB / 1.061 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.002051/0.9589, allocations: 1.433 MB / 1.324 GB, free: 11.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.959, allocations: 8.031 kB / 1.324 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.9591, allocations: 122.6 kB / 1.324 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.9617, allocations: 422.2 kB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.9631, allocations: 0.8077 MB / 1.325 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.9632, allocations: 62 kB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9633, allocations: 76 kB / 1.325 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.9651, allocations: 0.9866 MB / 1.326 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9651, allocations: 0 / 1.326 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.9652, allocations: 32 kB / 1.326 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.9652, allocations: 37.92 kB / 1.326 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.9672, allocations: 0.8783 MB / 1.327 GB, free: 8.289 MB / 1.061 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.005497/0.9727, allocations: 3.462 MB / 1.33 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.9743, allocations: 0.6047 MB / 1.331 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.9751, allocations: 340.2 kB / 1.331 GB, free: 3.695 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.9753, allocations: 101.1 kB / 1.331 GB, free: 3.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9753, allocations: 46.5 kB / 1.331 GB, free: 3.523 MB / 1.061 GB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.9753, allocations: 0 / 1.331 GB, free: 3.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=41): time 0.004853/0.9802, allocations: 1.891 MB / 1.333 GB, free: 1.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.9802, allocations: 59.34 kB / 1.333 GB, free: 1.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/0.9811, allocations: 0.7822 MB / 1.334 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.9812, allocations: 37.7 kB / 1.334 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.9815, allocations: 451.5 kB / 1.334 GB, free: 228 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.9817, allocations: 153.8 kB / 1.335 GB, free: 72 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.9819, allocations: 102.2 kB / 1.335 GB, free: 15.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.982, allocations: 333.9 kB / 1.335 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/0.9828, allocations: 308.9 kB / 1.335 GB, free: 15.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/0.9837, allocations: 439.5 kB / 1.336 GB, free: 14.85 MB / 1.076 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.005299/0.989, allocations: 1.939 MB / 1.338 GB, free: 12.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.989, allocations: 0 / 1.338 GB, free: 12.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001928/0.9909, allocations: 0.8387 MB / 1.338 GB, free: 12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9909, allocations: 6.031 kB / 1.338 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.991, allocations: 4 kB / 1.338 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.991, allocations: 8 kB / 1.338 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.9918, allocations: 167.8 kB / 1.339 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.9918, allocations: 8 kB / 1.339 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.9927, allocations: 59.84 kB / 1.339 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.9928, allocations: 20 kB / 1.339 GB, free: 11.74 MB / 1.076 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.0003756/0.9931, allocations: 285.5 kB / 1.339 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.9933, allocations: 79.06 kB / 1.339 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.9935, allocations: 96.08 kB / 1.339 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9935, allocations: 4 kB / 1.339 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9935, allocations: 4 kB / 1.339 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001559/0.9951, allocations: 0.691 MB / 1.34 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.999, allocations: 1.914 MB / 1.342 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.999, allocations: 4 kB / 1.342 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/0.9998, allocations: 148.2 kB / 1.342 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.9998, allocations: 4 kB / 1.342 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.9998, allocations: 12 kB / 1.342 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.9998, allocations: 11.98 kB / 1.342 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9999, allocations: 7.938 kB / 1.342 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/1.002, allocations: 1.217 MB / 1.343 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/1.003, allocations: 240 kB / 1.343 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.003, allocations: 12 kB / 1.343 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/1.004, allocations: 56.81 kB / 1.343 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.004, allocations: 35.91 kB / 1.343 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/1.004, allocations: 31.97 kB / 1.343 GB, free: 6.691 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006397/1.005, allocations: 0.5381 MB / 1.344 GB, free: 6.156 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.303e-06/1.005, allocations: 3.938 kB / 1.344 GB, free: 6.152 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007266/1.005, allocations: 251.9 kB / 1.344 GB, free: 5.906 MB / 1.076 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.003052/1.008, allocations: 1.864 MB / 1.346 GB, free: 3.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.01, allocations: 0.6934 MB / 1.347 GB, free: 3.293 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.01, allocations: 4 kB / 1.347 GB, free: 3.289 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007817/1.011, allocations: 329 kB / 1.347 GB, free: 2.969 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.013, allocations: 0.5221 MB / 1.348 GB, free: 2.457 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.025, allocations: 7.169 MB / 1.355 GB, free: 10.99 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/1.025, allocations: 1.044 MB / 1.356 GB, free: 9.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006951/1.026, allocations: 227 kB / 1.356 GB, free: 9.695 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/1.027, allocations: 319.3 kB / 1.356 GB, free: 9.383 MB / 1.092 GB Notification: Performance of SimCode: time 3.41e-07/1.027, allocations: 0 / 1.356 GB, free: 9.383 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/1.073, allocations: 25.58 MB / 1.381 GB, free: 272 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/9.61, allocations: 7.906 kB / 1.381 GB, free: 268 kB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches