Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 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.001233/0.001233, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.434/2.434, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 63.91 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6177, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2026/0.8203, allocations: 190.6 MB / 1.136 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.8306, allocations: 5.73 MB / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.832, allocations: 39.75 kB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.8338, allocations: 0.5786 MB / 1.142 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.838, allocations: 1.618 MB / 1.144 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.8413, allocations: 1.208 MB / 1.145 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.8447, allocations: 2.558 MB / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.8461, allocations: 0.8784 MB / 1.148 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.8482, allocations: 1.043 MB / 1.149 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.8502, allocations: 0.8108 MB / 1.15 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.8506, allocations: 96 kB / 1.15 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.8539, allocations: 1.532 MB / 1.152 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.8546, allocations: 410.9 kB / 1.152 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.8561, allocations: 0.595 MB / 1.153 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.8602, allocations: 2.002 MB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8603, allocations: 4 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8603, allocations: 0 / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.8603, allocations: 0 / 1.154 GB, free: 15.33 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003166/0.8635, allocations: 1.43 MB / 1.156 GB, free: 13.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8635, allocations: 8.031 kB / 1.156 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.8638, allocations: 134.6 kB / 1.156 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.8666, allocations: 410.3 kB / 1.156 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.8682, allocations: 0.7648 MB / 1.157 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/0.8685, allocations: 113.9 kB / 1.157 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.8687, allocations: 79.94 kB / 1.157 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.8709, allocations: 0.9905 MB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.871, allocations: 0 / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8711, allocations: 35.98 kB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.8711, allocations: 37.98 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.8733, allocations: 0.8744 MB / 1.159 GB, free: 10.34 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.006519/0.8799, allocations: 3.524 MB / 1.163 GB, free: 6.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.8817, allocations: 0.6242 MB / 1.163 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/0.8825, allocations: 338.4 kB / 1.164 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.8827, allocations: 101.7 kB / 1.164 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.8828, allocations: 50.48 kB / 1.164 GB, free: 5.484 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.8828, allocations: 0 / 1.164 GB, free: 5.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.008498/0.8913, allocations: 2.427 MB / 1.166 GB, free: 2.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8913, allocations: 55.41 kB / 1.166 GB, free: 2.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.8924, allocations: 0.7901 MB / 1.167 GB, free: 2.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.8925, allocations: 37.7 kB / 1.167 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.8928, allocations: 447.6 kB / 1.167 GB, free: 1.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.8929, allocations: 145.9 kB / 1.168 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.8931, allocations: 106.1 kB / 1.168 GB, free: 1.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8933, allocations: 330 kB / 1.168 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/0.8941, allocations: 308.9 kB / 1.168 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.895, allocations: 412 kB / 1.169 GB, free: 312 kB / 0.92 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.00572/0.9008, allocations: 1.902 MB / 1.171 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9008, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003392/0.9042, allocations: 1.05 MB / 1.172 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9042, allocations: 8 kB / 1.172 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9042, allocations: 4 kB / 1.172 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.9048, allocations: 188.8 kB / 1.172 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.9056, allocations: 143.8 kB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.9098, allocations: 2.237 MB / 1.174 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.9108, allocations: 52.02 kB / 1.174 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.9109, allocations: 23.98 kB / 1.174 GB, free: 10.5 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.9114, allocations: 281.6 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.9116, allocations: 86.97 kB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.9118, allocations: 96.23 kB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9118, allocations: 4 kB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9118, allocations: 0 / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003021/0.9149, allocations: 0.8988 MB / 1.175 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.9205, allocations: 2.113 MB / 1.178 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.9205, allocations: 4 kB / 1.178 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.9212, allocations: 132.2 kB / 1.178 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.9218, allocations: 180.7 kB / 1.178 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.9219, allocations: 19.98 kB / 1.178 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.9257, allocations: 2.187 MB / 1.18 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.9257, allocations: 11.92 kB / 1.18 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.9298, allocations: 1.436 MB / 1.181 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.9303, allocations: 244 kB / 1.182 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.9305, allocations: 12.06 kB / 1.182 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.9315, allocations: 61.91 kB / 1.182 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.9316, allocations: 39.89 kB / 1.182 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/0.9317, allocations: 27.98 kB / 1.182 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007782/0.9325, allocations: 0.5536 MB / 1.182 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.243e-06/0.9325, allocations: 4 kB / 1.182 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009444/0.9334, allocations: 271.9 kB / 1.183 GB, free: 1.5 MB / 0.9356 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00461/0.938, allocations: 2.078 MB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.9404, allocations: 0.8558 MB / 1.185 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9404, allocations: 0 / 1.185 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9414, allocations: 463.8 kB / 1.186 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.9441, allocations: 0.5535 MB / 1.186 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.9601, allocations: 7.968 MB / 1.194 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.9608, allocations: 1.052 MB / 1.195 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008942/0.9617, allocations: 207.2 kB / 1.195 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.9622, allocations: 319.3 kB / 1.196 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of SimCode: time 6.11e-07/0.9622, allocations: 0 / 1.196 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0628/1.025, allocations: 27.63 MB / 1.223 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.77, allocations: 9.828 kB / 1.223 GB, free: 8.473 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches