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.0076/0.0076, allocations: 103 kB / 15.74 MB, free: 6.039 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.001881/0.001881, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2381, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7674/1.005, allocations: 221.1 MB / 1.303 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00886/1.014, allocations: 5.727 MB / 1.309 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.016, allocations: 40.16 kB / 1.309 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.018, allocations: 0.6001 MB / 1.31 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004406/1.022, allocations: 1.688 MB / 1.311 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/1.026, allocations: 1.223 MB / 1.312 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.03, allocations: 2.58 MB / 1.315 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/1.031, allocations: 0.9038 MB / 1.316 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/1.034, allocations: 1.101 MB / 1.317 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.035, allocations: 0.8403 MB / 1.318 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/1.036, allocations: 97.59 kB / 1.318 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/1.039, allocations: 1.55 MB / 1.319 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/1.04, allocations: 406.6 kB / 1.32 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000852/1.04, allocations: 0.5878 MB / 1.32 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/1.044, allocations: 2.014 MB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.044, allocations: 0 / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/1.044, allocations: 5 kB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.044, allocations: 0 / 1.322 GB, free: 2.164 MB / 1.014 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.002213/1.046, allocations: 1.459 MB / 1.324 GB, free: 1.359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.046, allocations: 9.344 kB / 1.324 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/1.046, allocations: 131.2 kB / 1.324 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/1.049, allocations: 422.2 kB / 1.324 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.051, allocations: 0.811 MB / 1.325 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/1.051, allocations: 62.12 kB / 1.325 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.051, allocations: 74.72 kB / 1.325 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.053, allocations: 0.9821 MB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.053, allocations: 0 / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/1.053, allocations: 37.69 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/1.053, allocations: 30.97 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.055, allocations: 0.878 MB / 1.327 GB, free: 0.8281 MB / 1.014 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.005686/1.06, allocations: 3.479 MB / 1.33 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.062, allocations: 0.5896 MB / 1.331 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/1.063, allocations: 340.6 kB / 1.331 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/1.063, allocations: 96.77 kB / 1.331 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.063, allocations: 46.62 kB / 1.332 GB, free: 15.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 3.787e-06/1.063, allocations: 1.281 kB / 1.332 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.005007/1.068, allocations: 1.924 MB / 1.333 GB, free: 14.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/1.068, allocations: 64.09 kB / 1.333 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/1.069, allocations: 0.7789 MB / 1.334 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/1.069, allocations: 38.02 kB / 1.334 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/1.069, allocations: 461.8 kB / 1.335 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.07, allocations: 155.4 kB / 1.335 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.07, allocations: 107.6 kB / 1.335 GB, free: 14.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/1.07, allocations: 328.2 kB / 1.335 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/1.071, allocations: 310.3 kB / 1.336 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/1.071, allocations: 442.4 kB / 1.336 GB, free: 13.86 MB / 1.029 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.005052/1.076, allocations: 1.926 MB / 1.338 GB, free: 13.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.076, allocations: 6.531 kB / 1.338 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001844/1.078, allocations: 0.8469 MB / 1.339 GB, free: 13.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.078, allocations: 9.656 kB / 1.339 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.078, allocations: 3.156 kB / 1.339 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.078, allocations: 5.75 kB / 1.339 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/1.079, allocations: 168.3 kB / 1.339 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.079, allocations: 13.92 kB / 1.339 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.08, allocations: 58.61 kB / 1.339 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.08, allocations: 18.56 kB / 1.339 GB, free: 13.46 MB / 1.029 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.0004348/1.081, allocations: 281.9 kB / 1.339 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.081, allocations: 89.73 kB / 1.339 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/1.081, allocations: 96.38 kB / 1.339 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.081, allocations: 3.375 kB / 1.339 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.081, allocations: 6.438 kB / 1.339 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/1.083, allocations: 0.687 MB / 1.34 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/1.086, allocations: 1.906 MB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.086, allocations: 2.5 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.087, allocations: 148.9 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.087, allocations: 6.438 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/1.087, allocations: 16.91 kB / 1.342 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.087, allocations: 8.078 kB / 1.342 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.087, allocations: 3.062 kB / 1.342 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/1.09, allocations: 1.223 MB / 1.343 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/1.09, allocations: 239.3 kB / 1.344 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.09, allocations: 15.81 kB / 1.344 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/1.091, allocations: 65.48 kB / 1.344 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.091, allocations: 32.61 kB / 1.344 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/1.091, allocations: 28.83 kB / 1.344 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006603/1.092, allocations: 0.5416 MB / 1.344 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 0 / 1.344 GB, free: 11.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008641/1.093, allocations: 250.1 kB / 1.344 GB, free: 11.51 MB / 1.029 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.096, allocations: 1.871 MB / 1.346 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.098, allocations: 0.6943 MB / 1.347 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.098, allocations: 2.281 kB / 1.347 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007663/1.098, allocations: 327.5 kB / 1.347 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.101, allocations: 0.529 MB / 1.348 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.113, allocations: 7.202 MB / 1.355 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/1.114, allocations: 1.041 MB / 1.356 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008789/1.115, allocations: 219.7 kB / 1.356 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/1.115, allocations: 320.1 kB / 1.356 GB, free: 5.281 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.115, allocations: 4 kB / 1.356 GB, free: 5.277 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/1.162, allocations: 25.58 MB / 1.381 GB, free: 10.67 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.831/9.993, allocations: 4.047 kB / 1.381 GB, free: 10.67 MB / 1.045 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