Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001491/0.001491, 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.001146/0.001146, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.399/2.399, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5502, allocations: 140.4 MB / 0.9497 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.187/0.7372, allocations: 190.5 MB / 1.136 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0089/0.7461, allocations: 5.708 MB / 1.141 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.7475, allocations: 39.75 kB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.7492, allocations: 0.5669 MB / 1.142 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.7533, allocations: 1.61 MB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.7564, allocations: 1.2 MB / 1.145 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.7595, allocations: 2.55 MB / 1.147 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7611, allocations: 1.043 MB / 1.148 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.7633, allocations: 1.047 MB / 1.149 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.7651, allocations: 0.8469 MB / 1.15 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.7655, allocations: 112 kB / 1.15 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.7687, allocations: 1.547 MB / 1.152 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.7693, allocations: 0.5026 MB / 1.152 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.7704, allocations: 0.6378 MB / 1.153 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.7738, allocations: 2.162 MB / 1.155 GB, free: 15.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.7738, allocations: 3.938 kB / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7738, allocations: 0 / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.011e-05/0.7739, allocations: 0 / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002931/0.7768, allocations: 1.515 MB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7768, allocations: 12.03 kB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.7771, allocations: 139.3 kB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.7802, allocations: 474.1 kB / 1.157 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.7818, allocations: 0.8155 MB / 1.158 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.7822, allocations: 121.9 kB / 1.158 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.7823, allocations: 99.91 kB / 1.158 GB, free: 11.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.7847, allocations: 1.179 MB / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.7847, allocations: 0 / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.7848, allocations: 43.94 kB / 1.159 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.7849, allocations: 34 kB / 1.159 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.7873, allocations: 1.073 MB / 1.16 GB, free: 9.559 MB / 0.92 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.006979/0.7943, allocations: 4.37 MB / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.7965, allocations: 0.7599 MB / 1.165 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.7975, allocations: 412.6 kB / 1.166 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.7977, allocations: 101.1 kB / 1.166 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.7977, allocations: 38.56 kB / 1.166 GB, free: 3.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.7978, allocations: 3.938 kB / 1.166 GB, free: 3.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.006099/0.8039, allocations: 2.209 MB / 1.168 GB, free: 1.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.8039, allocations: 59.41 kB / 1.168 GB, free: 1.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.8049, allocations: 0.8569 MB / 1.169 GB, free: 388 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.805, allocations: 37.7 kB / 1.169 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.8054, allocations: 495.4 kB / 1.169 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.8055, allocations: 161.7 kB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.8058, allocations: 130.1 kB / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8059, allocations: 333.9 kB / 1.17 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.8069, allocations: 369 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.808, allocations: 0.5092 MB / 1.171 GB, free: 14.3 MB / 0.9356 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.006478/0.8145, allocations: 2.297 MB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8146, allocations: 0 / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002413/0.817, allocations: 0.9977 MB / 1.174 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.817, allocations: 4 kB / 1.174 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.817, allocations: 4 kB / 1.174 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.817, allocations: 11.94 kB / 1.174 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/0.818, allocations: 191.8 kB / 1.174 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.8181, allocations: 11.98 kB / 1.174 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8191, allocations: 67.84 kB / 1.174 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.8191, allocations: 31.98 kB / 1.174 GB, free: 10.61 MB / 0.9356 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0004154/0.8196, allocations: 313.5 kB / 1.175 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.8198, allocations: 90.97 kB / 1.175 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.82, allocations: 108.6 kB / 1.175 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.82, allocations: 4 kB / 1.175 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.82, allocations: 4 kB / 1.175 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/0.8221, allocations: 1.038 MB / 1.176 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.8268, allocations: 2.156 MB / 1.178 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.8268, allocations: 7.938 kB / 1.178 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.8278, allocations: 163.9 kB / 1.178 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.8278, allocations: 4 kB / 1.178 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.8279, allocations: 19.98 kB / 1.178 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.8279, allocations: 7.938 kB / 1.178 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8279, allocations: 7.938 kB / 1.178 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.8311, allocations: 1.425 MB / 1.179 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.8316, allocations: 255.9 kB / 1.18 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.8318, allocations: 16 kB / 1.18 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.8328, allocations: 77.83 kB / 1.18 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.8328, allocations: 39.89 kB / 1.18 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.8329, allocations: 23.98 kB / 1.18 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007425/0.8337, allocations: 0.6044 MB / 1.18 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8337, allocations: 0 / 1.18 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008591/0.8345, allocations: 264 kB / 1.181 GB, free: 3.738 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.00385/0.8384, allocations: 2.09 MB / 1.183 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.8407, allocations: 0.8852 MB / 1.184 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8408, allocations: 0 / 1.184 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.8418, allocations: 397 kB / 1.184 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.8444, allocations: 0.5895 MB / 1.185 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.8595, allocations: 8.557 MB / 1.193 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.8603, allocations: 1.106 MB / 1.194 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001018/0.8613, allocations: 259.7 kB / 1.194 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.8619, allocations: 355.3 kB / 1.195 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.8619, allocations: 0 / 1.195 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05599/0.9179, allocations: 28.55 MB / 1.222 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.818, allocations: 8.938 kB / 1.222 GB, free: 9.012 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches