Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.00743/0.00743, allocations: 99.42 kB / 15.73 MB, free: 6.012 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.001692/0.001692, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 70.95 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6906/0.9211, allocations: 190.4 MB / 1.273 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.929, allocations: 5.708 MB / 1.279 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.93, allocations: 46.88 kB / 1.279 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.9313, allocations: 0.5939 MB / 1.28 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.9352, allocations: 1.899 MB / 1.282 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.9381, allocations: 1.193 MB / 1.283 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.9419, allocations: 2.956 MB / 1.286 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.9434, allocations: 1.127 MB / 1.287 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.9453, allocations: 1.102 MB / 1.288 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.9471, allocations: 0.9636 MB / 1.289 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.9473, allocations: 123.6 kB / 1.289 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.9502, allocations: 1.454 MB / 1.29 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.9509, allocations: 0.5687 MB / 1.291 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.952, allocations: 0.7197 MB / 1.291 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.956, allocations: 2.347 MB / 1.294 GB, free: 2.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.956, allocations: 0 / 1.294 GB, free: 2.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/0.956, allocations: 0.75 kB / 1.294 GB, free: 2.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.956, allocations: 0 / 1.294 GB, free: 2.707 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002634/0.9587, allocations: 1.659 MB / 1.295 GB, free: 1.852 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.9587, allocations: 10.06 kB / 1.295 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.9589, allocations: 157 kB / 1.296 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.961, allocations: 337.8 kB / 1.296 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.9626, allocations: 0.9203 MB / 1.297 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.9627, allocations: 78 kB / 1.297 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.9629, allocations: 95.25 kB / 1.297 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.9648, allocations: 1.082 MB / 1.298 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9648, allocations: 0 / 1.298 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.9649, allocations: 42.22 kB / 1.298 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.965, allocations: 39.47 kB / 1.298 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.9666, allocations: 0.9986 MB / 1.299 GB, free: 1.328 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.005857/0.9725, allocations: 4.237 MB / 1.303 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.9734, allocations: 0.5949 MB / 1.304 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.9739, allocations: 343.8 kB / 1.304 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.9741, allocations: 106.7 kB / 1.304 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9742, allocations: 40.94 kB / 1.304 GB, free: 15.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.315e-06/0.9742, allocations: 0 / 1.304 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004133/0.9783, allocations: 2.219 MB / 1.306 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9784, allocations: 61.66 kB / 1.306 GB, free: 14.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.9795, allocations: 0.8814 MB / 1.307 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.9796, allocations: 40.42 kB / 1.307 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.9799, allocations: 0.5276 MB / 1.308 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.9801, allocations: 205.2 kB / 1.308 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.9804, allocations: 134.3 kB / 1.308 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9805, allocations: 336.8 kB / 1.309 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.981, allocations: 287.4 kB / 1.309 GB, free: 13.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.9816, allocations: 440.2 kB / 1.309 GB, free: 13.52 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.003865/0.9855, allocations: 1.741 MB / 1.311 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9855, allocations: 2.156 kB / 1.311 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001543/0.987, allocations: 0.9382 MB / 1.312 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.987, allocations: 5.906 kB / 1.312 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9871, allocations: 5.312 kB / 1.312 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.9873, allocations: 97.05 kB / 1.312 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.988, allocations: 159.1 kB / 1.312 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.9914, allocations: 4.632 MB / 1.317 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.9924, allocations: 25.86 kB / 1.317 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.9924, allocations: 30.58 kB / 1.317 GB, free: 9.09 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: 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005846/0.993, allocations: 345.4 kB / 1.317 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.9932, allocations: 114.4 kB / 1.317 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.9934, allocations: 108 kB / 1.317 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9934, allocations: 5.656 kB / 1.317 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9934, allocations: 1.25 kB / 1.317 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.9945, allocations: 0.7642 MB / 1.318 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.9976, allocations: 1.992 MB / 1.32 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.9976, allocations: 8.062 kB / 1.32 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.9983, allocations: 148.7 kB / 1.32 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.062e-05/0.9984, allocations: 41.84 kB / 1.32 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.9985, allocations: 15.03 kB / 1.32 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.9996, allocations: 1.603 MB / 1.322 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9996, allocations: 2.906 kB / 1.322 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.001, allocations: 1.218 MB / 1.323 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/1.002, allocations: 257.2 kB / 1.323 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.002, allocations: 15.62 kB / 1.323 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/1.003, allocations: 38.52 kB / 1.323 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.003, allocations: 49.42 kB / 1.323 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/1.003, allocations: 30.31 kB / 1.323 GB, free: 6.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007277/1.004, allocations: 0.6141 MB / 1.324 GB, free: 6.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 3.938 kB / 1.324 GB, free: 6.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009365/1.005, allocations: 302.2 kB / 1.324 GB, free: 6.262 MB / 1.029 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0021/1.007, allocations: 1.856 MB / 1.326 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.008, allocations: 1.011 MB / 1.327 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.008, allocations: 2.719 kB / 1.327 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/1.009, allocations: 452.9 kB / 1.327 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.011, allocations: 0.6422 MB / 1.328 GB, free: 4.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009618/1.021, allocations: 7.971 MB / 1.336 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/1.022, allocations: 1.17 MB / 1.337 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000921/1.023, allocations: 250.8 kB / 1.337 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/1.023, allocations: 382.3 kB / 1.338 GB, free: 0.875 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.023, allocations: 0 / 1.338 GB, free: 0.875 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/1.08, allocations: 30.49 MB / 1.367 GB, free: 6.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.78, allocations: 21.92 kB / 1.367 GB, free: 6.637 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches