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.001673/0.001673, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.318/2.318, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5362, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2201/0.7564, allocations: 221.1 MB / 1.166 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009036/0.7654, allocations: 5.728 MB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.7667, allocations: 43.75 kB / 1.171 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.7684, allocations: 0.5747 MB / 1.172 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.7724, allocations: 1.614 MB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.7754, allocations: 1.215 MB / 1.175 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.7787, allocations: 2.568 MB / 1.177 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.7802, allocations: 0.8989 MB / 1.178 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.7823, allocations: 1.058 MB / 1.179 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.7844, allocations: 0.8359 MB / 1.18 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.7847, allocations: 96 kB / 1.18 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.7878, allocations: 1.536 MB / 1.181 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.7884, allocations: 406.9 kB / 1.182 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.7894, allocations: 0.5872 MB / 1.182 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.7927, allocations: 1.998 MB / 1.184 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7927, allocations: 0 / 1.184 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7928, allocations: 0 / 1.184 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.72e-05/0.7928, allocations: 4 kB / 1.184 GB, free: 0.7422 MB / 0.9356 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.002794/0.7956, allocations: 1.418 MB / 1.186 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7957, allocations: 8.031 kB / 1.186 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.7959, allocations: 130.6 kB / 1.186 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.7988, allocations: 426.1 kB / 1.186 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.8002, allocations: 0.7726 MB / 1.187 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.8006, allocations: 109.9 kB / 1.187 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.8007, allocations: 79.94 kB / 1.187 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.8028, allocations: 0.9945 MB / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.8028, allocations: 0 / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.8029, allocations: 35.94 kB / 1.188 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.803, allocations: 33.98 kB / 1.188 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.8052, allocations: 0.8822 MB / 1.189 GB, free: 11.74 MB / 0.9512 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.006207/0.8114, allocations: 3.517 MB / 1.193 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.8132, allocations: 0.6281 MB / 1.193 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.8141, allocations: 345.9 kB / 1.193 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.8143, allocations: 109 kB / 1.194 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.8143, allocations: 38.56 kB / 1.194 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=39): time 2.123e-06/0.8144, allocations: 0 / 1.194 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=41): time 0.005387/0.8197, allocations: 1.915 MB / 1.195 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.8198, allocations: 55.41 kB / 1.196 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.8209, allocations: 0.7861 MB / 1.196 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.8209, allocations: 37.7 kB / 1.196 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.8213, allocations: 451.5 kB / 1.197 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.8214, allocations: 149.8 kB / 1.197 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.8216, allocations: 110.1 kB / 1.197 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8217, allocations: 329.9 kB / 1.197 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008753/0.8226, allocations: 316.9 kB / 1.198 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.8236, allocations: 451.5 kB / 1.198 GB, free: 2.18 MB / 0.9512 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.005843/0.8294, allocations: 1.958 MB / 1.2 GB, free: 168 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8295, allocations: 0 / 1.2 GB, free: 168 kB / 0.9512 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002176/0.8316, allocations: 0.8504 MB / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8317, allocations: 9.562 kB / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.8317, allocations: 0 / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.8317, allocations: 12.09 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.8326, allocations: 163.8 kB / 1.201 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.8326, allocations: 15.97 kB / 1.201 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.8336, allocations: 59.86 kB / 1.201 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.8337, allocations: 27.98 kB / 1.201 GB, free: 15.02 MB / 0.9669 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.0004302/0.8341, allocations: 282.3 kB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8343, allocations: 79.06 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.8345, allocations: 96.08 kB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.8345, allocations: 4 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.8346, allocations: 4 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/0.8363, allocations: 0.6913 MB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.8406, allocations: 1.933 MB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8406, allocations: 4 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.8414, allocations: 144.2 kB / 1.204 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.8414, allocations: 4 kB / 1.204 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.8415, allocations: 19.98 kB / 1.204 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.8415, allocations: 7.938 kB / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8415, allocations: 4 kB / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.8443, allocations: 1.236 MB / 1.205 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.8447, allocations: 228.1 kB / 1.206 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.8449, allocations: 19.92 kB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.8458, allocations: 65.88 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.8459, allocations: 39.84 kB / 1.206 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.846, allocations: 31.97 kB / 1.206 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007138/0.8467, allocations: 0.5419 MB / 1.206 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.8467, allocations: 0 / 1.206 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007951/0.8475, allocations: 248 kB / 1.207 GB, free: 9.156 MB / 0.9669 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.003483/0.851, allocations: 1.885 MB / 1.208 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.853, allocations: 0.7439 MB / 1.209 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.853, allocations: 4 kB / 1.209 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.8539, allocations: 337 kB / 1.21 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8564, allocations: 0.5274 MB / 1.21 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.8693, allocations: 7.483 MB / 1.217 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.8699, allocations: 1.044 MB / 1.218 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008872/0.8708, allocations: 227 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.8713, allocations: 327.3 kB / 1.219 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8713, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.9196, allocations: 25.43 MB / 1.244 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.788, allocations: 5.219 kB / 1.244 GB, free: 3.227 MB / 0.9981 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