Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.004647/0.004647, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001298/0.001298, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 83.86 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7576/1.046, allocations: 221.2 MB / 1.458 GB, free: 10.45 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009957/1.056, allocations: 5.731 MB / 1.463 GB, free: 4.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/1.057, allocations: 39.75 kB / 1.463 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.059, allocations: 0.5786 MB / 1.464 GB, free: 4.09 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00418/1.063, allocations: 1.627 MB / 1.465 GB, free: 2.457 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/1.066, allocations: 1.224 MB / 1.467 GB, free: 1.246 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003505/1.07, allocations: 2.562 MB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/1.071, allocations: 0.8967 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/1.074, allocations: 1.21 MB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.076, allocations: 0.8293 MB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/1.076, allocations: 100 kB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/1.079, allocations: 1.536 MB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/1.079, allocations: 406.9 kB / 1.474 GB, free: 9.707 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007255/1.08, allocations: 0.5833 MB / 1.474 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/1.083, allocations: 2.028 MB / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.083, allocations: 0 / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/1.083, allocations: 0 / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.083, allocations: 0 / 1.476 GB, free: 7.086 MB / 1.17 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.002399/1.086, allocations: 1.459 MB / 1.478 GB, free: 5.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.086, allocations: 11.97 kB / 1.478 GB, free: 5.559 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/1.086, allocations: 126.6 kB / 1.478 GB, free: 5.426 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/1.089, allocations: 422.8 kB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/1.09, allocations: 0.8046 MB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/1.09, allocations: 62 kB / 1.479 GB, free: 4.105 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.09, allocations: 76 kB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.092, allocations: 0.9937 MB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.092, allocations: 0 / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/1.092, allocations: 32 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/1.093, allocations: 37.88 kB / 1.48 GB, free: 2.953 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.095, allocations: 0.8783 MB / 1.481 GB, free: 2.074 MB / 1.17 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.006281/1.101, allocations: 3.638 MB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.103, allocations: 0.6008 MB / 1.485 GB, free: 13.6 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/1.104, allocations: 339.8 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/1.104, allocations: 105.1 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.104, allocations: 42.5 kB / 1.486 GB, free: 13.1 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/1.104, allocations: 0 / 1.486 GB, free: 13.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.005395/1.109, allocations: 1.899 MB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.109, allocations: 63.41 kB / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.11, allocations: 0.7744 MB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/1.11, allocations: 41.7 kB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/1.111, allocations: 456.4 kB / 1.489 GB, free: 9.793 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/1.111, allocations: 154.7 kB / 1.489 GB, free: 9.641 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/1.111, allocations: 114.1 kB / 1.489 GB, free: 9.523 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.111, allocations: 333.9 kB / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009021/1.112, allocations: 308.9 kB / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/1.113, allocations: 443.5 kB / 1.49 GB, free: 8.41 MB / 1.186 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.005835/1.119, allocations: 1.923 MB / 1.492 GB, free: 6.426 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.119, allocations: 4 kB / 1.492 GB, free: 6.422 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002165/1.121, allocations: 0.843 MB / 1.493 GB, free: 5.57 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.121, allocations: 8 kB / 1.493 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.121, allocations: 4 kB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.121, allocations: 8.094 kB / 1.493 GB, free: 5.551 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/1.122, allocations: 163.8 kB / 1.493 GB, free: 5.391 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.122, allocations: 4 kB / 1.493 GB, free: 5.387 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/1.123, allocations: 55.94 kB / 1.493 GB, free: 5.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/1.123, allocations: 27.98 kB / 1.493 GB, free: 5.305 MB / 1.186 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.000469/1.124, allocations: 286.3 kB / 1.493 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.124, allocations: 99.42 kB / 1.494 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/1.124, allocations: 92.95 kB / 1.494 GB, free: 4.824 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.124, allocations: 4 kB / 1.494 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.124, allocations: 0 / 1.494 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/1.126, allocations: 0.6912 MB / 1.494 GB, free: 4.098 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/1.13, allocations: 1.911 MB / 1.496 GB, free: 2.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.13, allocations: 0 / 1.496 GB, free: 2.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/1.131, allocations: 149 kB / 1.496 GB, free: 1.945 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.131, allocations: 4 kB / 1.496 GB, free: 1.941 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/1.131, allocations: 15.98 kB / 1.496 GB, free: 1.926 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/1.131, allocations: 7.938 kB / 1.496 GB, free: 1.918 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.131, allocations: 8 kB / 1.496 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.134, allocations: 1.229 MB / 1.498 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/1.135, allocations: 236.5 kB / 1.498 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.135, allocations: 12.81 kB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/1.136, allocations: 64.83 kB / 1.498 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/1.136, allocations: 39.83 kB / 1.498 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/1.136, allocations: 23.98 kB / 1.498 GB, free: 236 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007926/1.137, allocations: 0.5419 MB / 1.498 GB, free: 15.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/1.137, allocations: 4 kB / 1.498 GB, free: 15.69 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008399/1.137, allocations: 243.9 kB / 1.499 GB, free: 15.45 MB / 1.201 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.003566/1.141, allocations: 1.895 MB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001924/1.143, allocations: 0.6778 MB / 1.501 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.143, allocations: 4.625 kB / 1.501 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/1.144, allocations: 332.3 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.147, allocations: 0.5281 MB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/1.171, allocations: 7.204 MB / 1.509 GB, free: 4.477 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.172, allocations: 1.044 MB / 1.51 GB, free: 3.406 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001443/1.173, allocations: 219 kB / 1.51 GB, free: 3.188 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/1.174, allocations: 319.3 kB / 1.511 GB, free: 2.875 MB / 1.201 GB Notification: Performance of SimCode: time 8.62e-07/1.174, allocations: 0 / 1.511 GB, free: 2.875 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08766/1.262, allocations: 25.58 MB / 1.536 GB, free: 9.723 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/10.55, allocations: 15.69 kB / 1.536 GB, free: 9.715 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches